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

13 次查看(过去 30 天)
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?

回答(1 个)

SACHIN KHANDELWAL
SACHIN KHANDELWAL 2024-7-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 个评论
Sergio Luiz Dutra
Sergio Luiz Dutra 2024-7-30
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?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by