Unavailable Simscape blocks in a 2019b model exported for 2018b

14 visualizaciones (últimos 30 días)
Hello,
I have a Simulink/Simscape model in 2019b and I want to open it in 2018b. I exported the 2019b model into 2018b. When I open the exported model with 2018b, the Simscape blocks appears as unavailable. Could you please help me to see the Simscape blocks with 2018b ?
  2 comentarios
Samuel Quiniou
Samuel Quiniou el 20 de En. de 2020
Editada: Samuel Quiniou el 20 de En. de 2020
Here is the error logged in the Diagnostic View of 2019b when exporting the model:
Export to R2018b
09:09 AM Elapsed: 4 sec
Error running method slexportprevious.preprocess.SimscapeElectricalBlocks: (physmod:ee:library:ExportToPreviousVersion) Export to previous version does not support Simscape-based blocks from Simscape Electrical.
'<path to the model>' created for use in Simulink R2018b, but the conversion was only partially successful. Examine this model for changes to original behavior.
Samuel Quiniou
Samuel Quiniou el 20 de En. de 2020
Editada: Samuel Quiniou el 20 de En. de 2020
And the error in the Diagnostic View of 2018b when trying to open the model:
Model Load
27
Clear
09:13 AM Elapsed: 26 sec
Model 'TestBench' was created with a newer version (R2019b) of Simulink To create a model that is compatible with this version of Simulink, load the model in Simulink R2019b and select File > Export Model to > Previous Version.
Component:Simulink | Category:Model warning
Cannot find library called 'ee_lib'. To use the library, install 'Simscape Electrical'.

Iniciar sesión para comentar.

Respuestas (3)

Jonas
Jonas el 17 de En. de 2020
Are you sure you have installed all toolboxes on your MATLAB 2018b version? You need to install your necessary licenses for each and every MATLAB version, they are not shared.
  2 comentarios
Samuel Quiniou
Samuel Quiniou el 20 de En. de 2020
Hello,
I can see that the toolboxes Simscape (version 4.5) and Simscape Electrical (version 7.0) are installed in the Add-On Manager of 2018b.
Jonas
Jonas el 20 de En. de 2020
I am suspecting the export to 2018b failed because there may be a block in you Simscape Electrical which is not supported in 2018b. Could be some new block? I can suggest to check the releasenotes for versions 2019a and 2019b for changes to the Simscape Electrical library to see if you are using any of those functionalities.

Iniciar sesión para comentar.


Pradeep Gurrala
Pradeep Gurrala el 29 de Abr. de 2020
The simscape electrical library in 2019 is renamed to ee_lib from elec_lib in 2018

Vitor Henrique Madureira Biajo
Vitor Henrique Madureira Biajo el 1 de Feb. de 2021
Editada: Vitor Henrique Madureira Biajo el 1 de Feb. de 2021
I have a similar issue over here. I downgraded a R2020a Simulink model to R2018b, but it cannot find the Simscape Electrical Blocks, which is indeed installed. How can I solve it?

Categorías

Más información sobre Choose and Parameterize Blocks en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by