feofΒΆ

feof tests for end-of-file.

bool = feof(fh)

Return Value

bool is TRUE (1) after the first read operation that attempts to read past the end of the file. The function returns FALSE (0) if the current position is not end of file.

Parameters

fh

fh is a file handle.

id-1900234