Changeset 631
- Timestamp:
- May 6, 2013, 6:50:34 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/transform_field/phys.m
r574 r631 187 187 end 188 188 end 189 if isfield(DataOut,'VarAttribute') &&isfield(DataOut.VarAttribute{3},'VarIndex_tps')189 if isfield(DataOut,'VarAttribute') && numel(DataOut.VarAttribute)>=3 && isfield(DataOut.VarAttribute{3},'VarIndex_tps') 190 190 DataOut.VarAttribute{3}=rmfield(DataOut.VarAttribute{3},'VarIndex_tps'); 191 191 end 192 192 if isfield(DataOut,'VarAttribute')&& numel(DataOut.VarAttribute)>=4 && isfield(DataOut.VarAttribute{4},'VarIndex_tps') 193 DataOut.VarAttribute{4}=rmfield(DataOut.VarAttribute{4},'VarIndex_tps'); 194 end 193 195 if ~isempty(ind_remove) 194 196 DataOut.ListVarName(ind_remove)=[];
Note: See TracChangeset
for help on using the changeset viewer.