feof

Purpose

Test for end-of-file.

Synopsis

eofstat = feof(fid)

Description

feof(file_id) 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 Also

fopen

(c) Copyright 1994 by The MathWorks, Inc.