Simulate controllers against linear or nonlinear plants in MATLAB® and Simulink®

The toolbox provides tools for simulating your controller from the command line and in Simulink. If you are designing a controller using the MPC Designer app, you can simulate control scenarios during the design process and generate a Simulink model from your design.


mpcmove Optimal control action
mpcmoveopt Options set for mpcmove and mpcmoveAdaptive
mpcstate Define MPC controller state
sim Simulate closed-loop/open-loop response to arbitrary reference and disturbance signals for implicit or explicit MPC
mpcsimopt MPC simulation options
plot Plot responses generated by MPC simulations


MPC Controller Compute MPC control law


MPC Designer Design and simulate model predictive controllers
Was this topic helpful?