Products & Services Solutions Academia Support User Community Company

Learn more about xPC Target   

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
  


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