Changeset 100 for trunk/src/nc2struct.m
- Timestamp:
- Jun 8, 2010, 8:19:10 PM (13 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src
- Property svn:ignore
-
old new 1 @xmltree 2 PARAM.xml 1 3 PARAM_WIN.xml 4 XML_SCHEMAS 5 bin 6 toolbox_calib 7 uvmat_doc
-
- Property svn:ignore
-
trunk/src/nc2struct.m
r89 r100 256 256 VarName(indstr)=[]; 257 257 end 258 eval(['Data.' VarName '= netcdf.getVar(nc,var_index(ivar)-1);'])%read the variable data258 eval(['Data.' VarName '=double(netcdf.getVar(nc,var_index(ivar)-1));'])%read the variable data 259 259 %eval(['siz=size(Data.' VarName ');']) 260 260 % if numel(siz)<=2
Note: See TracChangeset
for help on using the changeset viewer.