Azzera filtri
Azzera filtri

Simulink Crashes once simulation starts

6 visualizzazioni (ultimi 30 giorni)
bakr bagaber
bakr bagaber il 5 Lug 2016
Risposto: Guillermo il 4 Apr 2024
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?

Risposte (2)

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

Guillermo
Guillermo il 4 Apr 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).

Categorie

Scopri di più su General Applications in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by