Documentation

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.

我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

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.

Introduced before R2006a

Was this topic helpful?