Changeset 150 for trunk/src/nc2struct.m
- Timestamp:
- Dec 3, 2010, 12:16:51 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/nc2struct.m
r140 r150 62 62 if ischar(nc) 63 63 if exist(nc,'file') 64 try 64 65 nc=netcdf.open(nc,'NC_NOWRITE'); 65 66 testfile=1; 67 catch errormsg 68 Data.Txt=['ERROR opening ' nc ': ' errormsg.identifier]; 69 return 70 end 66 71 else 67 72 Data.Txt=['ERROR:file ' nc ' does not exist'];
Note: See TracChangeset
for help on using the changeset viewer.