Changeset 2609


Ignore:
Timestamp:
11/05/09 09:10:44 (15 years ago)
Author:
Mathieu Morlighem
Message:

second argument of expread (1 or 0) is now optional. Default is 1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/utils/Exp/readwrite/expread.m

    r2607 r2609  
    66%   the exp file, for the density, for the nodes, and a field closed to
    77%   indicate if the domain is closed.
    8 %   The first argument is the .exp file to be read and the second one
     8%   The first argument is the .exp file to be read and the second one (optional)
    99%   indicate if the last point shall be read (1 to read it, 0 not to).
    1010%
     
    1313
    1414%   Example:
     15%      Struct=expread('domainoutline.exp')
    1516%      Struct=expread('domainoutline.exp',1)
    1617%
     
    2122        error(['expread error message: file ' filename ' not found!']);
    2223end
    23 if nargin~=2,
    24         help expread
    25         error('expread error message: second argument not provided'),
     24if nargin<2,
     25        whole=1;
    2626end
    2727
Note: See TracChangeset for help on using the changeset viewer.