Effacer les filtres
Effacer les filtres

Simulink Crashes once simulation starts

6 vues (au cours des 30 derniers jours)
bakr bagaber
bakr bagaber le 5 Juil 2016
I have a smulink model in which it has a PLECS circuit, when I open the model I get those warning in MATLAB Consol:
Warning: Undefined variable "SlCovCC" or class "SlCovCC.ConfigComp".
> In openmdl (line 12)
In openslx (line 9)
In open (line 158)
In uiopen (line 167)
Warning: Undefined variable "SlCovCC" or class "SlCovCC.ConfigComp".
> In Simulink.Preferences/updateConfigSetCopy
In Simulink.Preferences/getInstance
In slinstallprefs (line 18)
In simulinkrc (line 62)
In openmdl (line 12)
In openslx (line 9)
In open (line 158)
In uiopen (line 167)
Warning: Undefined variable "simscape" or class "simscape.modeladvisor.internal.define_checks".
> In slCustomizer/callAll
In slCustomizer/refresh
In slCustomizer.staticRefresh
In sl_refresh_customizations (line 18)
In slcustomize (line 4)
In simulinkrc (line 72)
In openmdl (line 12)
In openslx (line 9)
In open (line 158)
In uiopen (line 167)
When I run simulate MATLAB instantly crashes and closes.
It maybe worth mentioning that I'm currently running MATLAB R2016a 64X, and the problem came after installing MATLAB R2014b in parallel with the other version. I tried uninstalling both versions and installing the R2016a version again but the problem persists.
Do you have any idea how to solve such problem?

Réponses (2)

Maglax
Maglax le 1 Fév 2017
I had the same issue, which was solved when I removed a copy of "pathdef.m" from my ~/Documents/MATLAB/ Directory.

Guillermo
Guillermo le 4 Avr 2024
Same problem for me.
It was solved by deleting simulink cache and restarting matlab (tbh, not sure if both were the solution of the problem or only one).

Catégories

En savoir plus sur General Applications dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by