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
  


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