| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → xPC Target |
| Contents | Index |
| Learn more about xPC Target |
MATLAB command line
getsignalname(target_object, signal_index) target_object.getsignalname(signal_index)
target_object | Name of a target object. The default name is tg. |
signal_index | Index number of the signal. |
getparamname returns one argument string, signal name, from the index list for the specified signal index.
Get the signal name of signal ID 2.
[sigName]=getsignalname(tg,2) sigName = Gain2
![]() | getsignallabel | getTargetNames (env collection object) | ![]() |

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 |