trim
Compute steady-state value of MPC controller plant model state for given inputs and outputs
Syntax
Description
Use the Model Predictive Control Toolbox™
trim
function to calculate steady state values of LTI discrete-time
plants controlled by an MPC controller (see mpc
for background).
To find operating points of dynamic systems instead, see trim
(Simulink) and
Compute Steady-State Operating Points (Simulink Control Design).
returns a steady-state value for the plant state or the best approximation in a least
squares sense such that:x
= trim(mpcobj
,y
,u
)
Here, A,B, C, and
D are the state space realization matrices of the discrete-time plant
model used within mpcobj
,
xoff,
uoff, and
yoff are the nominal values of the extended
state x, input u, and output y
respectively.
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a