Import from 2021a to 2020b unsuccessful for simscape electrical blocks
Afficher commentaires plus anciens
I am trying to import a 2021a model to a previous year model so that I can eventually run with OPAL-RT. I tried 2020b and 2019a by save -> import to previous year, but for both, the blocks are 'not found' in the previous versions. These are simple blocks such as powergui, three phase AC source etc which are present in my 2020b simulink installation if I add them directly.
The error message in my 2021a command promt when I try the import is below. It is followed by the 'ver' command from 2021a and 2020b, respectively, for confirmation of successful installation of required libraries. Also a snapshot of the unsuccessfully imported file in 2020b.
Also note that some of the examples from which my model is made can run successfully when I open them from 2020b command prompt (eg power_OLTCregtransformer), but my model can't.
How can I fix this?
Error: Export to previous version does not support Specialized Power Systems blocks from Simscape Electrical. (physmod:powersys:library:ExportToPreviousVersion)
C:\Program Files\MATLAB\R2021a\toolbox\physmod\powersys\library\+slexportprevious\+preprocess\SimscapeElectricalSPSBlocks.m,13
C:\Program Files\MATLAB\R2021a\toolbox\simulink\slexportprevious\+slexportprevious\+internal\CallbackDispatcher.p >CallbackDispatcher.runCallbacks,0
C:\Program Files\MATLAB\R2021a\toolbox\simulink\slexportprevious\+slexportprevious\+internal\@PreprocessHelper\PreprocessHelper.p >PreprocessHelper.runPreprocessFunctions,0
C:\Program Files\MATLAB\R2021a\toolbox\simulink\slexportprevious\+slexportprevious\+internal\@PreprocessHelper\PreprocessHelper.p >PreprocessHelper.doPreprocess,0
C:\Program Files\MATLAB\R2021a\toolbox\simulink\slexportprevious\+slexportprevious\+internal\@PreprocessHelper\PreprocessHelper.p >PreprocessHelper.run,0
C:\Program Files\MATLAB\R2021a\toolbox\simulink\slexportprevious\+slexportprevious\+internal\@ExportController\run.p >i_run,0
C:\Program Files\MATLAB\R2021a\toolbox\simulink\slexportprevious\+slexportprevious\+internal\@ExportController\run.p,0
C:\Program Files\MATLAB\R2021a\toolbox\simulink\slexportprevious\+slexportprevious\+internal\exportToVersion.p,0
C:\Program Files\MATLAB\R2021a\toolbox\simulink\slexportprevious\+Simulink\exportToVersion.p,0
C:\Program Files\MATLAB\R2021a\toolbox\simulink\core\general\+Simulink\ExportModel.p,0
C:\Program Files\MATLAB\R2021a\toolbox\simulink\ui\studio\config\m\+SLStudio\FileMenu.p,0
%%%%%%%%%%%%%%%%%%%%%%%%
ver command
%%%%%%%%%%%%%%%%%%%%%%%%
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.10.0.1602886 (R2021a)
MATLAB License Number: 621625
Operating System: Microsoft Windows 10 Enterprise Version 10.0 (Build 18363)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.10 (R2021a)
Simulink Version 10.3 (R2021a)
Deep Learning Toolbox Version 14.2 (R2021a)
Reinforcement Learning Toolbox Version 2.0 (R2021a)
Simscape Version 5.1 (R2021a)
Simscape Electrical Version 7.5 (R2021a)
Statistics and Machine Learning Toolbox Version 12.1 (R2021a)
Symbolic Math Toolbox Version 8.7 (R2021a)
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.9.0.1592791 (R2020b) Update 5
MATLAB License Number: 621625
Operating System: Microsoft Windows 10 Enterprise Version 10.0 (Build 18363)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.9 (R2020b)
Simulink Version 10.2 (R2020b)
Simscape Version 5.0 (R2020b)
Simscape Electrical Version 7.4 (R2020b)

Réponse acceptée
Plus de réponses (2)
Souarv De
le 10 Oct 2021
0 votes
Yes priya, I completly agree with you. This is really very unfortuate for the users to use R2021a. Same problem happening with me also. If I know this major problem beforehand, I no longer download thsi and recommand others to install the higher version than R2020.
Farzad Farajizadeh
le 13 Juil 2022
Modifié(e) : Farzad Farajizadeh
le 13 Juil 2022
0 votes
That shows how the MATLAB team is becoming unprofessional in supporting their product.
I faced the same issue, and I realized that along with too many unecessary and trouble-making updates, they also changed and rearranged the libraries (more specifically Simscape) without considering that some users may need to switch between different versions of the software.
I hope the leader of this team, or whoever is responsible for that, will hear this voice and stop doing these unprofessional improvisations!
1 commentaire
Lakshmi Srinivas Vedantham
le 24 Juil 2022
Completely agree with this.
The MATLAB development team is becoming so unprofessional in such issues. They are not even aware of the future consequences while upgrading the version of matlab.
I am thoroughly discouraged to use matlab after seeing such kind of irrelavent and incompatible updates. Really hate the development team who has made this worst update
Catégories
En savoir plus sur Electrical Sensors dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
