Products & Services Solutions Academia Support User Community Company

Learn more about xPC Target   

getsignalname - Signal name from index list

Syntax

MATLAB command line

getsignalname(target_object, signal_index)
target_object.getsignalname(signal_index)

Arguments

target_object

Name of a target object. The default name is tg.

signal_index

Index number of the signal.

Description

getparamname returns one argument string, signal name, from the index list for the specified signal index.

Examples

Get the signal name of signal ID 2.

[sigName]=getsignalname(tg,2)
sigName =
Gain2
  


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