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
  


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