Changeset 1119


Ignore:
Timestamp:
06/26/09 09:34:25 (15 years ago)
Author:
Mathieu Morlighem
Message:

added check

File:
1 edited

Legend:

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

    r1102 r1119  
    1212%      md=parameterize(md,'Square.par');
    1313
     14%some checks
    1415if md.counter>=4,
    1516        choice=input('This model already has parameters and has been extruded. Are you sure you want to go ahead? (y/n)','s');
     
    2526                md.counter=3;
    2627        end
     28end
     29if ~exist(parametername),
     30        error(['parameterize error message: file ' parametername ' not found !']);
    2731end
    2832
Note: See TracChangeset for help on using the changeset viewer.