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

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

답변 (3개)

Walter Roberson
Walter Roberson 2011년 12월 28일

0 개 추천

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 2011년 12월 28일

0 개 추천

Yes I have that all in my R2010. Even it starts running the scripts associated with that simulink file. But then shows error.

댓글 수: 2

What error does it show?
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.

댓글을 달려면 로그인하십시오.

Fangjun Jiang
Fangjun Jiang 2011년 12월 28일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Interactive Model Editing에 대해 자세히 알아보기

질문:

2011년 12월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by