time | Calls | line |
---|
< 0.001 | 2 | 1 | classdef MissingErrorRulesInputs < matlab.io.internal.FunctionInterface
|
| | 2 | %
|
| | 3 |
|
| | 4 | % Copyright 2016-2018 The MathWorks, Inc.
|
| | 5 | properties (Parameter)
|
| | 6 | %IMPORTERRORRULE The action to take when importing fails
|
| | 7 | %
|
| | 8 | % 'fill' - replace the failure with the contents of 'FillValue'
|
| | 9 | %
|
| | 10 | % 'error' - Stop importing and indicate the record and field which caused
|
| | 11 | % the failure.
|
| | 12 | %
|
| | 13 | % 'omitrow' - Rows where errors occur will not be imported.
|
| | 14 | %
|
| | 15 | % 'omitvar' - Variables where errors occur will not be imported.
|
| | 16 | %
|
| | 17 | % See also matlab.io.VariableImportOptions
|
| | 18 | % matlab.io.spreadsheet.SpreadsheetImportOptions/MissingRule
|
| | 19 | % matlab.io.VariableImportOptions/FillValue
|
| | 20 | ImportErrorRule = 'fill';
|
| | 21 |
|
| | 22 | %MISSINGRULE The action to take when data is missing
|
| | 23 | %
|
| | 24 | % 'fill' - replace the missing data with the contents of 'FillValue'
|
| | 25 | %
|
| | 26 | % 'error' - Stop importing and indicate the record and field which was
|
| | 27 | % missing.
|
| | 28 | %
|
| | 29 | % 'omitrow' - Rows where missing data occur will not be imported.
|
| | 30 | %
|
| | 31 | % 'omitvar' - Variables where missing data occur will not be imported.
|
| | 32 | %
|
| | 33 | % See also matlab.io.VariableImportOptions
|
| | 34 | % matlab.io.spreadsheet.SpreadsheetImportOptions/ImportErrorRule
|
| | 35 | % matlab.io.VariableImportOptions/FillValue
|
| | 36 | MissingRule = 'fill';
|
| | 37 | end
|
| | 38 |
|
| | 39 | methods
|
| | 40 | function obj = set.ImportErrorRule(obj,rhs)
|
| | 41 | obj.ImportErrorRule = validatestring(rhs,matlab.io.internal.replacementRules);
|
| | 42 | end
|
| | 43 |
|
| | 44 | function obj = set.MissingRule(obj,rhs)
|
| | 45 | obj.MissingRule = validatestring(rhs,matlab.io.internal.replacementRules);
|
| | 46 | end
|
| | 47 | end
|
| | 48 | end
|