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

조회 수: 9 (최근 30일)
Samuel Quiniou
Samuel Quiniou 2020년 1월 16일
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
Samuel Quiniou
Samuel Quiniou 2020년 1월 20일
편집: Samuel Quiniou 2020년 1월 20일
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 2020년 1월 20일
편집: Samuel Quiniou 2020년 1월 20일
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'.

댓글을 달려면 로그인하십시오.

답변 (3개)

Jonas
Jonas 2020년 1월 17일
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
Samuel Quiniou
Samuel Quiniou 2020년 1월 20일
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 2020년 1월 20일
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.

댓글을 달려면 로그인하십시오.


Pradeep Gurrala
Pradeep Gurrala 2020년 4월 29일
The simscape electrical library in 2019 is renamed to ee_lib from elec_lib in 2018

Vitor Henrique Madureira Biajo
Vitor Henrique Madureira Biajo 2021년 2월 1일
편집: Vitor Henrique Madureira Biajo 2021년 2월 1일
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?

카테고리

Help CenterFile Exchange에서 Magnetic Elements에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by