Hi everyone
I tried to run the first MPC demo, (mpcdoubleint.m and mpcdoubleint.mdl),
It appears to run ok, but when I open the simulink model, double click on the MPC controller, and click on the design button I get the error:
"Opening MPC object in the MPC Design Tool failed: Illegal right hand side in assignement. Too many elements.
If I try to make up my own simulink model with an MPC block, I instead get the error
"Failed to create a MPC Task".
Any idea?
Thanks
Best Answer