%FERROR Inquire file error status. 
%   MESSAGE = FERROR(FID) returns the error message for the
%   most recent file I/O operation associated with the specified file. 
%   FID is an integer file identifier obtained from FOPEN, or 0 for
%   standard input, 1 for standard output or 2 for standard error.
%
%   [MESSAGE,ERRNUM] = FERROR(FID) returns the error number as well.
%   If the most recent I/O operation was successful, MESSAGE is empty
%   and ERRNUM is 0.  A nonzero ERRNUM indicates that an error
%   occurred.  The values of ERRNUM match those returned by the C
%   library on your platform.
%
%   [...] = FERROR(FID,'clear') also clears the error indicator for
%   the specified file.
%
%   See also FOPEN, FCLOSE, FREAD, FWRITE.

%   Copyright (c) 1984-98 by The MathWorks, Inc.
%   $Revision: 5.6 $  $Date: 1997/11/21 23:35:10 $
%   Built-in function.
