getparam - Value of target object parameter index

Syntax

MATLAB® command line

getparam(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

getparam returns the value of the parameter associated with parameter_index.

Examples

Get the value of parameter index 5.

getparam(tg, 5) 
ans = 400
  


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