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

Test for end-of-file

Syntax

Description

eofstat = feof(fid) tests whether the end-of-file indicator is set for the file with identifier fid. It returns 1 if the end-of-file indicator is set, or 0 if it is not. (See fopen for a complete description of fid.)

The end-of-file indicator is set when there is no more input from the file.

See Also

fopen       Open a file or obtain information about open files



[ Previous | Help Desk | Next ]