User`s guide
getsignallabel
Purpose Return signal labe l
Syntax MATLAB command line
getsignallabel(target_object, signal_index)
target_object.getsignallabel(signal_index)
Arguments
target_object
Name of a target object. The default name
is
tg.
signal_index
Index number of the signal.
Description getsignallabel returns the signal label for the specified signal index,
signal_index. signal_lab el. This function assumes that y ou have
labeled the signal fo r w hich you request the label (see the Signal
name parameter of the “Signal Properties Dialog Box” in the Simulink
documentation). N ote that the xPC Target software refers to Simulink
signal names as signal labels.
Examples >> getsignallabel(tg, 0)
ans =
xpcoscGain
See Also getsignallabel
18-67