Output Simulink model (2009 verison) in Simulink/matlab 2021a

2 ビュー (過去 30 日間)
Ximeng Wu
Ximeng Wu 2021 年 7 月 4 日
コメント済み: Ximeng Wu 2021 年 7 月 8 日
I am using Matlab/simulink 2021a, I am trying to convert my simulink model to a previous simulink version (2009b), however, there is no such opition. The oldest version that can be converted in R2014a. Has anyone got any suggestions? Thank you.
I can actually download simulink 2016a, firstly convert the 2021 version model to a 2016 version model and then using Simulink 2016 to convert the 2016 version model to a 2009 version model, but this method is not very smart and convenient. I am trying to directly use 2021a to output a 2009b version model.


Monika Jaskolka
Monika Jaskolka 2021 年 7 月 5 日
Use the command Simulink.exportToVersion to export to previous versions.
exported_model = Simulink.exportToVersion(gcs, 'model_R2009a', 'R2009a')
  1 件のコメント
Ximeng Wu
Ximeng Wu 2021 年 7 月 8 日
Great, thank you.


その他の回答 (0 件)


Find more on Simulink Coder 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!

Translated by