| xPC Target™ | ![]() |
MATLAB® command line
getsignallabel(target_object, signal_index) target_object.getsignallabel(signal_index)
target_object | Name of a target object. The default name is tg. |
signal_index | Index number of the signal. |
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.
>> getsignallabel(tg, 0) ans = xpcoscGain
![]() | getsignalidsfromlabel | getsignalname | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |