필터 지우기
필터 지우기

Loading Simulink library created in a newer version...

조회 수: 6 (최근 30일)
Arun
Arun 2013년 9월 24일
댓글: Sourabh Bansal 2018년 4월 21일
I had developed a Simulink Library consisting of a few blocks in v8.1 (2013a). When I tried to load the library into a system with Simulink v8 (2012b), I get a warning 'Loading model 'XXX' generated with a newer version (8.1) of Simulink' and also the blocks lose their functionality - The mask dialog does not open up when I double-click the model. Is there a way I can make the model library backward compatible.
PS: I did try by saving it as a .mdl file. Does not work.

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2013년 9월 24일
Is this library part of a MathWorks product, or your own? As long as it's not part of a MathWorks product, you can use File>Save As and select R2012b from the drop-down list to save to the format of the previous version. If this is a MathWorks library, you need to install the same product on R2012b to work correctly.
  댓글 수: 2
Arun
Arun 2013년 9월 24일
Hi Kaustubha,
There is no Save As... with "R2012b" option in Simulink 8.1 (2013a). The only two Save As... options available are as ".slx" and ".mdl" files. Perhaps what you meant was Export model to > Previous Version... . I tried that just now. Although the warning is gone now, the mask on my blocks have disappeared in R2012b. When developing blocks with masks in R2013a, do I have to take care of any settings in particular? As far as I remember, masks were supported in previous versions of Simulink as well, right?
PS: These blocks are project-specific and were developed by myself. They are not part of MathWorks product.
Sourabh Bansal
Sourabh Bansal 2018년 4월 21일
Hi Kaustubha, The simulink file is downloaded from https://in.mathworks.com/matlabcentral/fileexchange/27533-model-of-seperately-excited-dc-motor and it is 2016a format. I have a 2015a version of MATLAB. When I open it, it shows error. Can you help me with this?

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

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by