Products & Services Solutions Academia Support User Community Company

Learn more about xPC Target   

getsignal - Value of target object signal index

Syntax

MATLAB command line

getsignal(target_object, signal index)

Arguments

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.

Description

getsignal returns the value of the signal associated with signal_index.

Examples

Get the value of signal index 2.

getsignal(tg, 2) 
ans =  -3.3869e+006
  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

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