Changeset 45 for trunk/src/nc2struct.m
- Timestamp:
- Mar 15, 2010, 5:39:44 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/nc2struct.m
r19 r45 75 75 if isequal(List{1},'ListGlobalAttribute') 76 76 for ilist=2:numel(List) 77 try 77 78 valuestr = netcdf.getAtt(nc,netcdf.getConstant('NC_GLOBAL'),List{ilist}); 79 catch 80 valuestr=[]; 81 end 78 82 eval(['Data.' List{ilist} '=valuestr;']) 79 83 end
Note: See TracChangeset
for help on using the changeset viewer.