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

8 ビュー (過去 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 Center および File ExchangeMagnetic Elements についてさらに検索

タグ

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by