Main Content

Controller Creation

Create model predictive controllers

You can create an MPC controller with a linear plant model using the MPC Designer app or at the command line. To design a controller, first select the controller sample time and horizons, and specify any required constraints. For more information, see Choose Sample Time and Horizons and Specify Constraints. You can then adjust the controller weights to achieve your desired performance, see Tune Weights for more information.


mpcModel predictive controller
mpcpropsProvide help on MPC controller properties
gpc2mpcGenerate MPC controller using generalized predictive controller (GPC) settings
mpcverbosityChange toolbox verbosity level


MPC DesignerDesign and simulate model predictive controllers


MPC Parameters

Design Environment

Design for Specialized Plants

Code Generation

Case Studies