Changeset 402 for trunk/src/sub_field.m
- Timestamp:
- Apr 29, 2012, 11:29:24 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sub_field.m
r180 r402 72 72 end 73 73 iselect=find(NbDim==2); 74 for icell=iselect 75 if ~isempty(VarTypeCell{icell}.coord_tps) 76 NbDim(icell)=0; 77 end 78 end 79 iselect=find(NbDim==2); 74 80 if ~isequal(numel(iselect),1) 75 81 errormsg='invalid first input to sub_field: it must contain a single 2D field cell'; 76 82 return 83 end 84 iselect_1=find(NbDim_1==2); 85 for icell=iselect_1 86 if ~isempty(VarTypeCell_1{icell}.coord_tps) 87 NbDim_1(icell)=0; 88 end 77 89 end 78 90 iselect_1=find(NbDim_1==2);
Note: See TracChangeset
for help on using the changeset viewer.