Downgrade project with reference models and sub-models from 2023 to 2021

12 views (last 30 days)
Hi all,
I have a project in matlab 2023 which contains a plenty of reference models and sub-models, it would not be nice downgrading all the models one by one, so I would like to downgrade the whole project from 2023 to 2021.
Does any of you knows a way to perform such a task with a script or anything like that?

Answers (1)

SACHIN KHANDELWAL
SACHIN KHANDELWAL on 29 Jul 2024
I understand that you want to downgrade your project from R2023 to R2021.
  1. In the Simulink window, File > Save > Previous version and save in your desired version. For more information, please refer to the Export Model to Previous Version of Simulink section in the following documentation link: https://www.mathworks.com/help/simulink/ug/save-models.html#f2-86382
  2. Or You can use the "save_system" function to save your models in a format compatible with MATLAB 2021. Refer the following documentation to learn more about this function https://www.mathworks.com/help/simulink/slref/save_system.html#
Hope it helps!
  1 Comment
Sergio Luiz Dutra
Sergio Luiz Dutra on 30 Jul 2024
Hello,
thanks a lot for your answer.
It works partially, I am still missing the data dictionaries in the exported version.
Do you know how to do it with the complete project package?

Sign in to comment.

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!