Changeset 236 for trunk/src/nc2struct.m
- Timestamp:
- Apr 12, 2011, 12:12:19 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/nc2struct.m
r227 r236 107 107 end 108 108 try 109 if ischar(valuestr) & length(valuestr)<200 & double(valuestr)<=122 & double(valuestr)>=48 %usual characters109 if ischar(valuestr) %& length(valuestr)<200 & double(valuestr)<=122 & double(valuestr)>=48 %usual characters 110 110 % valuestr=regexprep(valuestr,{'\\','\/','\.','\-',' '},{'_','_','_','_','_'})%remove '\','.' or '-' if exists 111 111 eval(['Data.' keystr '=''' valuestr ''';'])
Note: See TracChangeset
for help on using the changeset viewer.