Changeset 7291


Ignore:
Timestamp:
02/03/11 10:06:17 (14 years ago)
Author:
Mathieu Morlighem
Message:

Fixed loadmodel thaks John

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/utils/Model/loadmodel.m

    r6130 r7291  
    2828try,
    2929        %recover model and name it md
    30         struc=load(path,'-mat');
     30        struc=struct(load(path,'-mat'));
    3131        fieldname=char(fieldnames(struc));
    3232        md=eval(['struc.' fieldname]);
Note: See TracChangeset for help on using the changeset viewer.