User`s guide

xpctarget.ftp
Purpose Create xPC Target FTP object
Syntax MATLAB command line
file_object = xpctarget.ftp('mode', 'arg1', 'arg2')
Arguments
file_object
VariablenametoreferencetheFTPobject.
mode
Optionally, enter the communication mode:
TCPIP
Specify TCP/IP connectio n with target
PC.
RS232
Specify RS-232 connection with target
PC.
arg1
Optionally, enter an argument based on the mode value:
IP address
If
mode is 'TCPIP', enter the IP address
of the target PC.
COM port If
mode is 'RS232', enter the h ost COM
port.
arg2
Optionally, enter an argument based on the mode value:
Port
If
mode is 'TCPIP',entertheport
number for the target PC.
Baud rate
If
mode is 'RS232', enter the baud rate
for the connection between the host
and target PC.
Description Constructor of an FTP object. The FTP object represents the file on
the target PC. You work with the file by changing the file object usin g
methods.
If you have o ne target PC object, or if you designate a target PC as the
default one in your system, use the syntax
file_object=xpctarget.ftp
18-159