This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.


Position in open file


position = ftell(fileID)


position = ftell(fileID) returns the current position in the specified file. position is a zero-based integer that indicates the number of bytes from the beginning of the file. If the query is unsuccessful, position is -1. fileID is an integer file identifier obtained from fopen.

Introduced before R2006a

Was this topic helpful?