| MATLAB Function Reference | Search  Help Desk |
| feof | See Also |
Syntax
eofstat = feof(fid)
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