User`s guide

put
Purpose Copy file from host PC to target PC
Syntax MATLAB command line
put(file_obj,file_name)
file_obj.put(file_name)
Arguments
file_obj
Name of the xpctarget.ftp obje ct.
file_name
NameofthefiletocopytothetargetPC.
Description Method of xpctarget.ftp objects. Copies a file from the host PC to the
target PC.
file_name must be a file in the current folder of the host PC.
The method writes
file_name to the target PC disk.
put might be slower than the get operation f or the same file. This is
expected behavior.
Examples Copy the file data2.dat from the curre nt folder of the h os t PC to the
current folder of the target PC FTP object
f.
put(f,'data2.dat')
or
fsys.put('data2.dat')
See Also xPC Target file object methods dir and get (ftp).
18-88