Exporting Simscape model from R2024a to R2021a and R2023a

21 visualizzazioni (ultimi 30 giorni)
When I try to export a Simulink model containing Simscape blocks to an earlier version, I get the following Warning message: "Warning:Exporting a model to a format used by an earlier version is not supported for models containing Simscape blocks."
Is there any way to make a Simscape model available for users of an earlier version?
Thanks!

Risposta accettata

Yifeng Tang
Yifeng Tang il 31 Ott 2024 alle 6:25
The message you got is a warning, not an error, which is trying to tell you to be very careful with the resulting model. Whether the model will behave the same in the older version depends on what block you have in the original model, whether those blocks exist in older versions, and whether there has been major updates to the blocks. The documentation page of each block contains some history of the block like when it's first available and major updates. You may get some rough idea on whether the same blocks exist in an earlier version.
Also, sometimes the libraries and blocks may be reorganized and you can get unexpected results.
Even if you get the model exported to an earlier version, you probably need to carefully compare the results before sharing it with other users.

Più risposte (1)

Walter Roberson
Walter Roberson il 28 Ott 2024 alle 22:30
No, you can only go back as far as (I think it is) R2022b from R2024a if you have Simscape blocks. Simscape reorganized and compatibility further back is unfortunately not supported.

Categorie

Scopri di più su Troubleshooting in Help Center e File Exchange

Prodotti


Release

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by