getsignallabel - Return signal label

Synopsis

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_label. This function assumes that you have labeled the signal for which you request the label (see the Signal name parameter of the Signal Properties Dialog Box in the Simulink® documentation). Note that the xPC Target™ software refers to Simulink signal names as signal labels.

Examples

>> getsignallabel(tg, 0)
ans =
xpcoscGain

See Also

getsignallabel

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS