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?