xPC Target | ![]() ![]() |
Get the signal index or property name from the signal list
Syntax
Arguments
Description
Method of a target object. Returns the index or name of a signal from the signal list, based on the path to the signal name. The block names must be entered in full and are case sensitive.
Examples
Get the property name for the parameter Gain in the Simulink block Gain1.
Get the property index for the parameter Gain in the Simulink block Gain1.
S6 is a property of the target object. For example, you could get the value of a signal with signal_6 = tg.s6
.
See Also
The target object method getparamid
. The xPC target M-file demo scripts listed in xPC Target Demos.
![]() | getscope | load | ![]() |