Ignore:
Timestamp:
Dec 4, 2011, 5:54:17 PM (9 years ago)
Author:
sommeria
Message:

a few more bugs corrected, now the new civ_matlab works for civ1,fix1, patch1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/read_civdata.m

    r246 r316  
    7676end
    7777var_ind=find(vardetect);
    78 for ivar=1:length(var_ind)
     78for ivar=1:min(numel(var_ind),numel(Field.VarAttribute))
    7979    Field.VarAttribute{ivar}.Role=role{var_ind(ivar)};
    8080    Field.VarAttribute{ivar}.Unit=units{var_ind(ivar)};
Note: See TracChangeset for help on using the changeset viewer.