MATLAB Answers

How can I open my current Simulink models in previous versions of Simulink?

1,452 views (last 30 days)
For example, I would like to know if my Simulink 3.0 models will load back into Simulink 2.2. When I try to bring models that were saved in Simulink 3.0 back into Simulink 2.2, I receive a number of warning messages, and then the model does not appear properly (blank). In some cases the model does not open at all.
An example of the warnings in Simulink 2.0:
 
Warning: Loading model 'modelname' generated with an earlier version (2.09) of SIMULINK.
Warning: vers.mdl, line 10: block_diagram does not have a parameter named 'PaperType'.
Warning: vers.mdl, line 11: block_diagram does not have a parameter named 'PaperUnits'.
Warning: vers.mdl, line 46: block_diagram does not have a parameter named 'SimulationMode'.
Warning: vers.mdl, line 49: block_diagram does not have a parameter named 'RTWRetainRTWFile'.
Warning: vers.mdl, line 53: block_diagram does not have a parameter named 'ExtModeMexFile'.
Warning: vers.mdl, line 54: block_diagram does not have a parameter named 'ExtModeBatchMode'.
Warning: vers.mdl, line 78: block_diagram does not have a parameter named 'LineDefaults'.
Warning: vers.mdl, line 79: block_diagram does not have a parameter named 'FontName'.
Warning: vers.mdl, line 80: block_diagram does not have a parameter named 'FontSize'.
Warning: vers.mdl, line 81: block_diagram does not have a parameter named 'FontWeight'.
Warning: vers.mdl, line 82: block_diagram does not have a parameter named 'FontAngle'.
When I try to bring a model from Simulink 2.2 to 2.1, I receive similiar warnings, but the model does appear.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 4 Jan 2017
As of Simulink 4.1 (R12.1), you can load newer Simulink models into an older version of Simulink.
To do this:
1. Open the newer Simulink model in the appropriate Simulink version
2. Save it as the required older version model by choosing the correct "Save as type" option through the File->Save-as menu or through File->Export Model to->Previous Version..., and then
3. Load the saved model in step 2 above in the selected older Simulink version.
For example, to load a Simulink 5.0 model into Simulink 3.0:
1. Open the model in Simulink 5.0
2. Save it as "Simulink 3.0/R 11Models (*.mdl)" by choosing the correct "Save as type" option through the File->Save-as menu, and then
3. Load the saved model in step 2 above in Simulink 3.0

  2 Comments

dhruv gajwa
dhruv gajwa on 25 Nov 2019
Simulink has a preference, in the Model File section, called "Do not load models created with a newer version of Simulink". You can temporarily turn this off rather than edit the model files to change version numbers.
If the model uses only basic blocks then it might be possible to load it in R2017b, but it could also crash MATLAB. As others have commented, using the "Export to Previous Version" feature is the supported way to take a model from a later release to an earlier one.
Remember to turn the preference "Do not load models created with a newer version of Simulink" back on afterwards.
Mohammed Ibrahem
Mohammed Ibrahem on 4 Dec 2019
so every time i change between models that been created in different version I have to download either newer or previous version of MATLAB or sometimes both????

Sign in to comment.

More Answers (7)

Muhammad Rehman
Muhammad Rehman on 2 Oct 2018
if someone dont have the new version, and only have previous version, is there any way to convert. like i have simulink model build in 2018a and i want to open it in 2017b. and i dont have 2018a.
regards

  1 Comment

dhruv gajwa
dhruv gajwa on 25 Nov 2019
Simulink has a preference, in the Model File section, called "Do not load models created with a newer version of Simulink". You can temporarily turn this off rather than edit the model files to change version numbers.
If the model uses only basic blocks then it might be possible to load it in R2017b, but it could also crash MATLAB. As others have commented, using the "Export to Previous Version" feature is the supported way to take a model from a later release to an earlier one.
Remember to turn the preference "Do not load models created with a newer version of Simulink" back on afterwards.

Sign in to comment.


Hicham Lhachimi
Hicham Lhachimi on 17 May 2016
When I do all this steps i don't find the previous versions , i find only 3 choices : Simulink models (*.slx) Simulink models (*.mdl) all files (*.*)


Deniz Altindas
Deniz Altindas on 6 Jan 2018
Hello everyone, I have 2007b matlab and i can not open this file. I guess simulink is saved as .slx . is there anyone can open it and convert it suitable for 2007b? its really important and urgent

  0 Comments

Sign in to comment.


qaqcvc
qaqcvc on 29 Aug 2019
Just hope someday the MATLAB will create an automatically transform tool that can be used online. We upload the new version model, and it will transform in cloud, and then we can download the older version. I guess this is not difficult to deliver.

  0 Comments

Sign in to comment.


dhruv gajwa
dhruv gajwa on 25 Nov 2019
Simulink has a preference, in the Model File section, called "Do not load models created with a newer version of Simulink". You can temporarily turn this off rather than edit the model files to change version numbers.
If the model uses only basic blocks then it might be possible to load it in R2017b, but it could also crash MATLAB. As others have commented, using the "Export to Previous Version" feature is the supported way to take a model from a later release to an earlier one.
Remember to turn the preference "Do not load models created with a newer version of Simulink" back on afterwards.

  0 Comments

Sign in to comment.


RITESH KUMAR
RITESH KUMAR on 18 Jan 2020
Edited: RITESH KUMAR on 18 Jan 2020
hi
please this higher version file to convert to matlab 2015 format of matal simulink. as soon as possible. its urgent.

  4 Comments

Show 1 older comment

Sign in to comment.

Categories