Changeset 188 for trunk/src/nc2struct.m
- Timestamp:
- Feb 2, 2011, 1:22:05 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/nc2struct.m
r150 r188 103 103 indstr1=regexp(keystr,'\\','once');%detect '\\' 104 104 indstr2=regexp(keystr,'\.','once');%detect '\.' 105 if isempty(indstr1) && isempty(indstr2) 105 %indtitle=regexp(keystr,'title','once');%detect 'title'(bad characters) 106 if isempty(indstr1) && isempty(indstr2)%&&isempty(indtitle) 106 107 valuestr = netcdf.getAtt(nc,netcdf.getConstant('NC_GLOBAL'),keystr); 107 if ischar(valuestr) & & length(valuestr)<200108 if ischar(valuestr) & length(valuestr)<200 & double(valuestr)<=122 & double(valuestr)>=48 %usual characters 108 109 iatt_g=iatt_g+1; 109 110 indstr1=regexp(keystr,'\\','once');%detect '\\'
Note: See TracChangeset
for help on using the changeset viewer.