home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l460 / 2.ddi / LANG.DI$ / LASTERR.M < prev    next >
Encoding:
Text File  |  1993-03-07  |  579 b   |  17 lines

  1. %LASTERR Last error message.
  2. %    LASTERR, by itself, returns a string containing the last
  3. %    error message issued by MATLAB.
  4. %
  5. %    LASTERR('') resets the LASTERR function so that it will
  6. %    return an empty matrix until the next error is encountered.
  7. %    
  8. %    LASTERR is usually used in conjunction with the two 
  9. %    argument form of EVAL: EVAL('try','catch').  The 'catch'
  10. %    action can examine the LASTERR string to determine the
  11. %    cause of the error and take appropriate action.
  12. %
  13. %    See also EVAL, ERROR.
  14.  
  15. %    Copyright (c) 1984-93 by The MathWorks, Inc.
  16. %    Built-in function.
  17.