User`s guide
getparamname
14-47
14getparamname
Purpose Get block path and parameter name from index list
Syntax MATLAB command line
getparamname(target_object, parameter_index)
Arguments
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
target_object
Name of a target object. The default name is tg.
parameter_index
Index number of the parameter.