Clear Filters
Clear Filters

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

487 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 23 Dec 2023
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.

More Answers (0)


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!