Products & Services Solutions Academia Support User Community Company

Learn more about xPC Target   

get (ftp) - Retrieve copy of requested file from target PC

Syntax

MATLAB command line

get(file_obj,file_name)
file_obj.get(file_name)

Arguments

file_obj

Name of the xpctarget.ftp object.

file_name

Name of a file on the target PC.

Description

Method of xpctarget.ftp objects. Copies the specified filename from the target PC to the current folder of the host PC. file_name must be either a fully qualified filename on the target PC, or located in the current folder of the target PC.

Examples

Retrieve a copy of the file named data.dat from the current folder of the target PC file object f.

get(f,'data.dat') or f.get('data.dat')
ans = data.dat

See Also

xPC Target file object methods put.

  


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