Products & Services Solutions Academia Support User Community Company

Learn more about xPC Target   

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. Use the xPC Target file object method fopen to open the file system object.

Examples

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

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

See Also

xPC Target file object method fopen.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

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