Changeset 943 for trunk/src/nc2struct.m
- Timestamp:
- May 2, 2016, 9:49:22 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/nc2struct.m
r924 r943 276 276 end 277 277 end 278 Data.(VarName)= double(netcdf.getVar(nc,var_index(ivar)-1,ind_vec,ind_size)); %read the variable data278 Data.(VarName)=netcdf.getVar(nc,var_index(ivar)-1,ind_vec,ind_size); %read the variable data 279 279 Data.(VarName)=squeeze(Data.(VarName));%remove singeton dimension 280 280 else
Note: See TracChangeset
for help on using the changeset viewer.