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

1,196 views (last 30 days)
I try to open a Simulink model created with a current version of Simulink in an older version of Simulink, but I encounter the following error:
Error using open
Model 'testModel' was created with a newer version (R2022b) of Simulink
To disable the error message, use Simulink preferences.
To create a model that is compatible with this version of Simulink, load
the model in Simulink R2022b and select Save > Export Model to > Previous
In older Simulink versions, I see the following warning:
Warning: Loading model 'testModel' generated with an earlier
version (2.09) of SIMULINK.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 29 Sep 2022
Edited: MathWorks Support Team on 29 Sep 2022

Option 1: Export Model to Previous Simulink Version

The recommended workflow is to export the model to a format of a previous version. To do this:
1. Open the model in the appropriate newer Simulink version, or try Simulink Online.
2. Save it as the required older version model by choosing Save > Export Model to > Previous Version from Simulink Toolstrip.
3. Load the saved model from step 2 above in the selected older Simulink version.
When you export a model to a previous version, the model is saved in the earlier format, regardless of whether the model contains blocks and features that were introduced after that version. See Export Model to Previous Simulink Version for more details regarding compatibility.

Option 2: Allow loading models created with a newer version of Simulink

In case exporting the model to previous version is not possible, you can disable to error message in the Simulink preferences in the older version. To do this:
1. In MATLAB Toolstrip, on the HOME tab, click Preferences.
2. Select the Simulink pane and click Open Simulink Preferences.
3. Select the Model File pane and scroll down. Uncheck "Do not load models created with a newer version of Simulink".
4. After you open your model from the newer version of Simulink and save a copy of it that is compatible with your current version, it is recommended to reverse this setting.

Sign in to comment.

More Answers (9)

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.

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.

Sign in to comment.

Giuseppe Silano
Giuseppe Silano on 13 Jun 2021
Edited: MathWorks Support Team on 10 Aug 2021
You can use Simulink online (see ) to convert the Simulink scheme to a previous version of MATLAB. I hope this helps.

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 (*.*)

Abishek Kalyanaraman
Abishek Kalyanaraman on 20 May 2017
/is it possible to do vice versa
  1 Comment
Stefanie Schwarz
Stefanie Schwarz on 29 Sep 2022
Simulink models are generally backwards compatible, that is, you can usually open a model from an older version in a newer version of Simulink without issues. But of course, our Simulink products evolve over time and functionalities and blocks may change.
That's why our recommendation is to use Upgrade Advisor to migrate models to newer releases:

Sign in to comment.

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
  1 Comment
Mykola Demchuk
Mykola Demchuk on 13 Jan 2021
Hi there! Could anyone convert this slx file to the mdl one so that I can work on it in Matlab 2007b.

Sign in to comment.

dhruv gajwa
dhruv gajwa on 25 Nov 2019
Edited: Stefanie Schwarz on 29 Sep 2022
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.

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

Sign in to comment.

HONG CHENG on 4 May 2022
Edited: MathWorks Support Team on 10 Nov 2022


Find more on Simulink in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!