MATLAB Function Reference Previous page   Next Page
feof

Test for end-of-file

Syntax

Description

eofstat = feof(fid) returns 1 if the end-of-file indicator for the file fid has been set and 0 otherwise. (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


Previous page  feather ferror Next page

© 1994-2005 The MathWorks, Inc.