Changeset 1024 for trunk/src/sub_field.m
- Timestamp:
- Dec 24, 2017, 9:50:18 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sub_field.m
r985 r1024 136 136 for ilist=1:numel(Field_1.VarAttribute) 137 137 % case of variable with a single dimension 138 if ~isempty(Field_1.VarAttribute{ilist}) && ~isempty(regexp(Field_1.VarAttribute{ilist}.Role,'^coord'))% if variable with Role coord... is found.138 if ~isempty(Field_1.VarAttribute{ilist}) && isfield(Field_1.VarAttribute{ilist},'Role')&&~isempty(regexp(Field_1.VarAttribute{ilist}.Role,'^coord'))% if variable with Role coord... is found. 139 139 OldDimName=Field_1.VarDimName{ilist}; 140 140 if ischar(OldDimName), OldDimName={OldDimName}; end% transform char string to cell if relevant
Note: See TracChangeset
for help on using the changeset viewer.