<< fseek | Stream manager | ftell >> |
s = fsize(fid) |
a file descriptor
an integer value: size of a file.
fsize returns th size of a file opened by fopen.
TXT = 'example about fsize.';
fileID = fopen([tempdir(), 'fsize.txt'],'wt');
fprintf(fileID, TXT);
fsize(fileID)
length(TXT)
status = fclose(fileID);
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET