Filter löschen
Filter löschen

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

35 Ansichten (letzte 30 Tage)
Sergio Luiz Dutra
Sergio Luiz Dutra am 29 Jul. 2024 um 9:13
Kommentiert: Sergio Luiz Dutra am 30 Jul. 2024 um 14:58
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?

Antworten (1)

SACHIN KHANDELWAL
SACHIN KHANDELWAL am 29 Jul. 2024 um 9:29
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 Kommentar
Sergio Luiz Dutra
Sergio Luiz Dutra am 30 Jul. 2024 um 14:58
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?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by