Products & Services Solutions Academia Support User Community Company


get

Purpose

MPC property values

Syntax

Description

Value = get(MPCobj,'PropertyName') returns the current value of the property PropertyName of the MPC controller MPCobj. The string 'PropertyName' can be the full property name (for example, 'UserData') or any unambiguous case-insensitive abbreviation (for example, 'user'). You can specify any generic MPC property.

Struct = get(MPCobj) converts the MPC controller MPCobj into a standard MATLAB® structure with the property names as field names and the property values as field values.

get(MPCobj) without a left-side argument displays all properties of MPCobj and their values.

Remark

An alternative to the syntax

is the structure-like referencing

For example,

return the values of the sampling time and prediction horizon of the MPC controller MPCobj.

See Also

mpc, set


 Provide feedback about this page 

Previous page d2d getestim Next page

Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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