time | Calls | line |
---|
| | 10 | function meta = setMetaLocations(obj, supplied, metarows)
|
< 0.001 | 2 | 11 | if ~obj.DetectMetaLines
|
| | 12 | metarows = 0;
|
< 0.001 | 2 | 13 | end
|
< 0.001 | 2 | 14 | meta.DataRow = 1;
|
< 0.001 | 2 | 15 | meta.VariableNamesRow = 0;
|
< 0.001 | 2 | 16 | meta.RowNamesCol = 0;
|
| | 17 |
|
< 0.001 | 2 | 18 | meta.RowNames = supplied.ReadRowNames && obj.ReadRowNames;
|
< 0.001 | 2 | 19 | if meta.RowNames
|
< 0.001 | 1 | 20 | meta.RowNamesCol = 1;
|
| 2 | 21 | end
|
< 0.001 | 2 | 22 | meta.VarNames = (supplied.ReadVariableNames && obj.ReadVariableNames)...
|
| 2 | 23 | || (~supplied.ReadVariableNames && metarows > 0);
|
< 0.001 | 2 | 24 | if meta.VarNames
|
< 0.001 | 2 | 25 | meta.DataRow = metarows + 1;
|
< 0.001 | 2 | 26 | meta.VariableNamesRow = 1;
|
< 0.001 | 2 | 27 | end
|
| | 28 |
|
< 0.001 | 2 | 29 | end
|
Other subfunctions in this file are not included in this listing.