User`s guide
getfilesize
Purpose Size of file on target P C
Syntax MATLAB command line
getfilesize(file_obj,file_ID)
file_obj.getfilesize(file_ID)
Arguments
file_obj
Name of the xpctarget.fs object.
file_ID
Fileidentifierofthefiletogetthesizeof.
Description Method of xpctarget.fs objects. From the host PC, gets the size (in
bytes) of the file identified by the
file_ID file identifier on the target
PC file system. Use the xPC Target file object method
fopen to open
thefilesystemobject.
Examples Get the size of the file identifier h for the file system o bject fsys.
getfilesize(fsys,h) or fsys.getfilesize(h)
See Also xPC Target file object m ethod fopen.
18-56