Changeset 45 for trunk/src/nc2struct.m


Ignore:
Timestamp:
Mar 15, 2010, 5:39:44 PM (11 years ago)
Author:
gostiaux
Message:

adaptation for movies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/nc2struct.m

    r19 r45  
    7575    if isequal(List{1},'ListGlobalAttribute')
    7676        for ilist=2:numel(List)
     77            try
    7778            valuestr = netcdf.getAtt(nc,netcdf.getConstant('NC_GLOBAL'),List{ilist});
     79            catch
     80                valuestr=[];
     81            end
    7882            eval(['Data.' List{ilist} '=valuestr;'])
    7983        end
Note: See TracChangeset for help on using the changeset viewer.