Simulink Model made in Matlab 6.5.1 (R13SP1) doesnot work in higher versions

6 vues (au cours des 30 derniers jours)
Tigmanshu
Tigmanshu le 28 Déc 2011
Hi reader,
I have made a Simulink model in Matlab 6.5.1. I tried running it in R2008 and R2010 but it doesn't run properly. It starts showing error when I run the same model. While the same model runs in 6.5.1.
(To be specific it shows error with lqry command in higher versions)
Can somebody guide me on this? Also On which other version shall it possibly run?
Thanks

Réponses (3)

Walter Roberson
Walter Roberson le 28 Déc 2011
Do you have the Control System Toolbox installed and licensed with those later MATLAB versions? http://www.mathworks.com/help/toolbox/control/ref/lqry.html

Tigmanshu
Tigmanshu le 28 Déc 2011
Yes I have that all in my R2010. Even it starts running the scripts associated with that simulink file. But then shows error.
  2 commentaires
Walter Roberson
Walter Roberson le 28 Déc 2011
What error does it show?
Tigmanshu
Tigmanshu le 29 Déc 2011
It says me to tune the values of Q and R. However with the same values of Q and R it runs in lower version. Q and R matrices are selected as identity matrices.

Connectez-vous pour commenter.


Fangjun Jiang
Fangjun Jiang le 28 Déc 2011
Open your old version of Simulink model in the new version of Simulink software and do a save-as. Pay attention to any messages show up in the Command Window.
Or run slupdate(Model, 'OperatingMode', 'Analyze') to see what blocks need your special attention.

Catégories

En savoir plus sur Interactive Model Editing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by