mpcmoveMultiple
Compute gain-scheduling MPC control action at a single time instant
Syntax
Description
computes the optimal manipulated variable moves at the current time using a model predictive
controller selected by index from an array of MPC controllers. This results depends upon the
properties contained in the MPC controller and the controller states. The result also depends on
the measured plant outputs, the output references (setpoints), and the measured disturbance
inputs. mv
= mpcmoveMultiple(MPCArray
,states
,index
,ym
,r
,v
)mpcmoveMultiple
updates the controller state when default state
estimation is used. Call mpcmoveMultiple
repeatedly to simulate closed-loop
model predictive control.
[___] = mpcmoveMultiple(___,
alters selected controller settings using options you specify with options
)mpcmoveopt
. These changes apply for the current time instant only, allowing a
command-line simulation using mpcmoveMultiple
to mimic the Multiple
MPC Controllers block in Simulink® in a computationally efficient manner.
Input Arguments
Output Arguments
Tips
Use the Multiple MPC Controllers Simulink block for simulations and code generation.
Version History
Introduced in R2014b