Changeset 517 for trunk/src/nc2struct.m
- Timestamp:
- Aug 17, 2012, 11:47:16 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/nc2struct.m
r421 r517 145 145 Data.ListVarName=ListVarNameNetcdf; 146 146 else %select input variables, if requested by the input ListVarName 147 ind_remove=[]; 148 for ivar=1:numel(ListVarName) % check redondancy 149 if ~isempty(find(strcmp(ListVarName{ivar},ListVarName(1:ivar-1)))) 150 ind_remove=[ind_remove ivar]; 151 end 152 end 153 if ~isempty(ind_remove) 154 ListVarName(ind_remove)=[]; 155 end 147 156 sizvar=size(ListVarName); 148 157 testmulti=(sizvar(1)>1);%test for multiple choice of variable ranked by order of priority
Note: See TracChangeset
for help on using the changeset viewer.