MATLAB Examples
Vary the weights on outputs, inputs, and ECR slack variable for soft constraints in real-time.
Design a model predictive controller with look-ahead (previewing) on reference and measured disturbance trajectories.
Vary input and output saturation limits in real-time control. For both command-line and Simulink® simulations, you specify updated input and output constraints at each control interval.
Obtain bumpless transfer when switching model predictive controller from manual to automatic operation or vice versa.
Use the "qp.status" outport of the MPC Controller block in Simulink® to detect controller failures in real time.
Use measurable plant states in MPC control at run time.
Use the "optimal cost" outport of the MPC Controller block to switch between multiple model predictive controllers whose outputs are restricted to discrete values.
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.