User`s guide
xpctarget.fs
14-112
14xpctarget.fs
Purpose Create xPC Target file system object
Syntax MATLAB command line
filesys_object = xpctarget.fs('mode', 'arg1', 'arg2')
Arguments
Description Constructor of a file system object. The file system object represents the file
system on the target PC. You work with the file system by changing the file
system object using methods.
If you have one target PC object, or if you designate a target PC as the default
one in your system, use the syntax
filesys_object=xpctarget.fs
filesys_object
Variable name to reference the file system object.
mode
Optionally, enter the communication mode:
TCPIP
Specify TCP/IP connection 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 host
COM port.
arg2
Optionally, enter an argument based on the mode
value:
Port If
mode is 'TCPIP', enter the port
number for the target PC.
Baud rate If
mode is 'RS232', enter the baud
rate for the connection between the
host and target PC.