Contents Previous Next Subchapters

Determining The Length Of A File
Syntax lenfile(file)
See Also exists , listdir , isdir

Description
Returns an integer scalar equal to the number of bytes in the specified file, where file is a character row vector.

Example
If the file C:\OMWIN\AUTOEXEC.OMS is 3789 bytes long, and you enter
     lenfile("C:\OMWIN\AUTOEXEC.OMS")
O-Matrix will respond
     3789