User`s guide
get (ftp)
14-27
14get (ftp)
Purpose Retrieve copy of requested file from target PC
Syntax MATLAB command line
get(file_obj,file_name)
file_obj.get(file_name)
Arguments
Description Method of xpctarget.ftp objects. Copies the specified filename from the target
PC to the current directory of the host PC.
file_name must be either a fully
qualified filename on the target PC, or located in the current directory of the
target PC.
Examples Retrieve a copy of the file named data.dat from the current directory 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.
file_obj
Name of the xpctarget.ftp object.
file_name
Name of a file on the target PC.