MATLAB Function Reference
  Go to function:
    Search    Help Desk 
fgetl    See Also

Return the next line of a file as a string without line terminator(s)

Syntax

Description

line = fgetl(fid) returns the next line of the file with identifier fid. If fgetl encounters the end of a file, it returns -1. (See fopen for a complete description of fid.)

The returned string line does not include the line terminator(s) with the text line (to obtain the line terminator(s), use fgets).

See Also

fgets       Return the next line of a file as a string with line terminator(s)



[ Previous | Help Desk | Next ]