Filter löschen
Filter löschen

MPC object in matlab 2012b and 2017a

3 Ansichten (letzte 30 Tage)
Lu Zhang
Lu Zhang am 1 Mai 2018
Beantwortet: Alex Link am 3 Mai 2018
Hi, I encountered a problem. I designed MPC controller in matlab 2017a, then I copied the MPC object to another PC with matlab 2012b. The matlab 2012b cannot identify the MPC object from 2017a, when I opened it, the MPC object became a matrix. And when I designed MPC controller in the matlab 2012b by same parameters, the simulation showed different result. Could anyone tell me how to fix this?

Antworten (1)

Alex Link
Alex Link am 3 Mai 2018
Hi Lu Zhang,
It is difficult to identify the exact incompatibility without knowing the specifics of your MPC controller. We are constantly improving and adding to our products, so it is likely that your model built in MATLAB R2017a has features that did not exist in MATLAB R2012b. Therefore, MATLAB R2012b is unable to make sense of these new properties/features, so it will not open the controller object as expected.
I recommend looking at the Release Notes for the Model Predictive Control Toolbox. This will give you insight on what new features in MATLAB R2017a did not exist in MATLAB R2012b, which may help you identify the incompatibility. You can find this information in the following link by adjusting the 'Release Range': https://www.mathworks.com/help/mpc/release-notes.html

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by