How to Read Simulink model interfaces in m script without loading the model.

15 views (last 30 days)
I have a Simulink model in 2020v, I need to use that model in 2017 without exporting to previous versions. I am not able to load the simulink (v2020)model in 2017. So is it possible to write m script(v2017) to import the interfaces of simulink model(v2020).

Answers (1)

Benjamin Thompson
Benjamin Thompson on 31 Jan 2022
When you select "Save" in Simulink, there should be an option to save as a previous release, at the bottom of the popup menu. I can be in R2021B and save a version of a model for R2014B. Just don't overwrite your 2020 model file in case you need that for something else.

Categories

Find more on Programmatic Model Editing 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!