Model Predictive Control Toolbox

Control of a Multi-Input Multi-Output Nonlinear Plant

This example shows how to design a model predictive controller for a multi-input multi-output nonlinear plant. The plant has 3 manipulated variables and 2 measured outputs.

Linearize Nonlinear Plant

To run this example, Simulink® and Simulink Control Design® are required.

if ~mpcchecktoolboxinstalled('simulink')
disp('Simulink(R) is required to run this example.')
returnendif ~mpcchecktoolboxinstalled('slcontrol')
disp('Simulink Control Design(R) is required to run this example.')
returnend

The nonlinear plant is implemented in Simulink® model "mpc_nonlinmodel" and linearized at the default operating condition using the "linearize" command from Simulink Control Design®.