| xPC Target™ | ![]() |
MATLAB® command line
getsignal(target_object, signal index)
target_object | Name of a target object. The default name is tg. |
signal_index | Index number of the signal. This can be a value of up to 1000 elements. |
getsignal returns the value of the signal associated with signal_index.
Get the value of signal index 2.
getsignal(tg, 2) ans = -3.3869e+006
![]() | getscope | getsignalid | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |