Filter löschen
Filter löschen

Simulink Crashes once simulation starts

6 Ansichten (letzte 30 Tage)
bakr bagaber
bakr bagaber am 5 Jul. 2016
Beantwortet: Guillermo am 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?

Antworten (2)

Maglax
Maglax am 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 am 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).

Kategorien

Mehr zu General Applications finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by