User`s guide

xpctarget.xpc
14-116
14xpctarget.xpc
Purpose Create a target object representing target application
Syntax MATLAB command line
target_object = xpctarget.xpc('mode', 'arg1', 'arg2')
Arguments
Description Constructor of a target object. The target object represents the target
application and target PC. You make changes to the target application by
changing the target object using methods and properties.
If you have one target PC, or if you designate a target PC as the default one in
your system, use the syntax
target_object=xpctarget.xpc
target_object
Variable name to reference the target object:
mode
Optionally, enter the communication mode
TCPIP
Enable TCP/IP connection with
target PC.
RS232
Enable 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.