MATLAB: Model Predictive Control Toolbox

model predictive controlModel Predictive Control Toolboxsimulink

Dear all,
The problem is about "MPC block"(model predictive control) in MatLAB 7.0.
I drew the diagram of the control system in simulink. I added the "MPC block" from "Model Predictive Control Toolbox" to my control system.
After that, I double clicked the MPC block, one dialog box named "MPC Simulink Block" showed up.
Then I pressed the button "design".
After I pressed the button "design", MATLAB began to "build MPC Design Project".
After a while, a message box showed up and told me: "Could not assign linearization i/o. Message returned was:Error using==> mpcblockiotable Linearization mismatch between block i/o and linearization i/o"
I don't know why.

Best Answer

The question author provided me with the model to look at. The problem in this case happens due to the way plant model is implemented. It is done using level-1 MATLAB s-functions. The way these functions are written prevents them from linearizing correctly, causing the error message.
The recommendation is to use standard state-space and transfer function blocks for the plant model if possible.
Arkadiy