status = feof(fileID) returns the status
of the end-of-file indicator. The feof function returns a
1 if a previous operation set the end-of-file indicator for the
specified file. Otherwise, feof returns a 0.
File identifier of an open file, specified as an integer. Before testing for
the end-of-file status, you must use fopen to open the file and obtain
a valid file identifier fileID.
Data Types: double
Tips
Opening an empty file does not set the end-of-file indicator.
Read operations, and other operations like fseek and
frewind, move the file position indicator.
Extended Capabilities
C/C++ Code Generation Generate C and C++ code using MATLAB® Coder™.