Code Generation

Generate code and deploy controllers on real-time targets

Once you have simulated a model predictive controller in Simulink®, 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.


review Examine MPC controller for design errors and stability problems at run-time


MPC Controller Compute MPC control law
Adaptive MPC Controller Design and simulate adaptive model predictive controller
Explicit MPC Controller Design and simulate explicit model predictive controller
Multiple MPC Controllers Simulate switching between multiple MPC controllers
Was this topic helpful?