%FGETS Read line from file, keep newline character. 
%   LINE = FGETS(FID) returns the next line of a file associated
%   with file identifier FID as a MATLAB string. The line
%   terminator is included. Use FGETL to get the next line
%   WITHOUT the line terminator. If just an end-of-file is
%   encountered then -1 is returned.
%
%   LINE = FGETS(FID, NCHAR) returns at most NCHAR characters of
%   the next line. No additional characters are read after the
%   line terminator(s) or an end-of-file.
%
%   FGETS is intended for use with text files only.  Given a binary 
%   file with no newline characters, FGETS may take a long time to 
%   execute.
%
%   See also FGETL, FOPEN.

%   [LINE, LTOUT] = FGETS(...) also returns the line terminator(s),
%   if any, in LTOUT.

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