User`s guide
xpctar getspy
Purpose Open Real-Time xPC Target Spy window o n host PC
Syntax MATLAB command line
xpctargetspy
xpctargetspy(target_object)
xpctargetspy('target_object_name')
Argument
s
target_object
Variable name to reference the target object.
target_object_name
Target object name as specified in the xPC
Target Explorer.
Description This graphical u ser interface (GUI) allows you to uplo ad displayed
data from the target PC. By default,
xpctargetspy opens a Real-Time
xPC Target Spy window for the target object,
tg. If you have multiple
target PCs in your system, you can call the
xpctargetspy function for a
particular target object,
target_object.
If you have one target PC, or if you designate a target PC as the default
one in your system, use the syntax
xpctargetspy
If you have multiple target PCs in your system, use xpctarget.xpc to
create the additional target object first.
target_object=xpctarget.xpc('mode', 'arg1', 'arg2')
Then, use the following syntax.
xpctargetspy(target_object)
If you have a target PC object in the xPC Targ et Explore r, you can use
the following syntax.
target_object=xpctarget.xpc('target_object_name')
18-169