Vector of signal indices
Signal access by signal index will be removed in a future release. Access signals by signal name instead.
Label the signal for which you request the index by using the Simulink®
Signal name parameter. You must apply a unique label. That is,
only one signal has the label
The Simulink Real-Time™ software refers to Simulink signal names as signal labels.
Get the vector of signal indices for a signal labeled
'fourth' in model
tg = slrt; index_vector = getsignalidsfromlabel(tg, 'fourth')
index_vector = 1
signal_label— Label associated with a signal
You must explicitly assign the signal label. The signal name is not a signal label.
index_vector— Indexes into list of signals
Vector that contains indices from the
of the real-time application.