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

  1. %FERROR    Query errors in file input or output.
  2. %    MESSAGE = FERROR(FID,'clear') returns the error message for the
  3. %    most recent file I/O operation associated with the specified file. 
  4. %    The string 'clear' is optional.  If present, it clears the error
  5. %    indicator for the specified file.
  6. %
  7. %    [MESSAGE, ERRNUM] = FERROR(FID) also returns the error number.
  8. %
  9. %    FID is an integer file identifier obtained from FOPEN, or 0 for
  10. %    standard input, 1 for standard output or 2 for standard error.
  11.  
  12. %    Copyright (c) 1984-93 by The MathWorks, Inc.
  13. %    Built-in function.
  14.