Changeset 2951


Ignore:
Timestamp:
02/03/10 23:15:02 (15 years ago)
Author:
Eric.Larour
Message:

Now returns a modellist instead of a cell array of models

Location:
issm/trunk/src/m/classes/public
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/public/modelsextract.m

    r2889 r2951  
    6969%now, go use the pools of flags to extract models:
    7070disp(['extracting ' num2str(size(flag_list,1)) ' models']);
    71 md_list=cell(0,1);
     71models=cell(0,1);
    7272
    7373for i=1:size(flag_list,1),
     
    7979                realflags=flag_list{i};
    8080        end
    81         md_list{end+1,1}=modelextract(md,realflags);
     81        models{end+1,1}=modelextract(md,realflags);
    8282end
    8383
     84%return model list
     85md_list=modellist(models);
     86
    8487end %end of this function
Note: See TracChangeset for help on using the changeset viewer.