Products & Services Solutions Academia Support User Community Company

Learn more about xPC Target   

getparamname - Block path and parameter name from index list

Syntax

MATLAB command line

getparamname(target_object, parameter_index)

Arguments

target_object

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

parameter_index

Index number of the parameter.

Description

getparamname returns two argument strings, block path and parameter name, from the index list for the specified parameter index.

Examples

Get the block path and parameter name of parameter index 5.

[blockPath,parName]=getparamname(tg,5)
blockPath =
Signal Generator
parName =
Amplitude
  


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