Contents
Previous
Next
Subchapters
Current Chapters->
time
clock
tictoc
system
cwd
listdir
listdirs
mvfile
rmfile
rmdir
rmdirs
isdir
isfullpath
fullpath
mkdir
exists
lenfile
cpfile
tempfile
sleep
version
clc
editorfont
beep
getenv
Parent Chapters->
Omatrix6
elementary
systemFunctions
lenfile
Search Tools->
contents
reference
index
search
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