Compute optimal control using explicit MPC
computes the optimal manipulated variable moves at the current time using an explicit model
predictive control law. This result depends on the properties contained in the explicit MPC
controller and the controller states. The result also depends on the measured output
variables, the output references (setpoints), and the measured disturbance inputs.
mv
= mpcmoveExplicit(EMPCobj
,x
,ym
,r
,v
)mpcmoveExplicit
updates the controller state, x
,
when using default state estimation. Call mpcmoveExplicit
repeatedly to
simulate closed-loop model predictive control.
Use the Explicit MPC Controller Simulink block for simulation and code generation.