MATLAB Function Reference | Search  Help Desk |
feof | See Also |
eofstat = feof(fid)
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.
fopen
Open a file or obtain information about open files