Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

ftell - Position in open file

Syntax

position = ftell(fileID)

Description

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.

See Also

fclose | feof | ferror | fopen | frewind | fseek

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS