getfilesize - Size of file on target PC

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

File identifier of the file to get the size of.

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.

Examples

Get the size of the file identifier h for the file system object fsys.

getfilesize(fsys,h) or fsys.getfilesize(h)
  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS