Once you have validated a model predictive controller in Simulink® or MATLAB®, you can generate code and deploy it for real-time control applications. For more information, see Generate Code and Deploy Controller to Real-Time Targets.
|MPC Controller||Compute MPC control law|
|Adaptive MPC Controller||Design and simulate adaptive and time-varying model predictive controllers|
|Explicit MPC Controller||Design and simulate explicit model predictive controller|
|Multiple MPC Controllers||Simulate switching between multiple implicit MPC controllers|
|Multiple Explicit MPC Controllers||Simulate switching between multiple explicit MPC controllers|
Model Predictive Control Toolbox™ software provides code generation functionality for controllers designed in Simulink and MATLAB.
The model predictive controller QP solver converts an MPC optimization problem to a general form quadratic programming problem.
Simulate your MPC controller in Simulink and generate real-time code that uses either double or single precision signals.
Simulate your MPC controller in Simulink and generate structured text for programmable logic controllers.
Generate C code to compute manipulated variable moves for real-time applications.
Generate code for a model predictive controller that uses a custom quadratic programming solver.
Implement an online model predictive controller application using the OPC client supplied with the OPC Toolbox™.