필터 지우기
필터 지우기

Simulink Crashes once simulation starts

조회 수: 6 (최근 30일)
bakr bagaber
bakr bagaber 2016년 7월 5일
답변: Guillermo 2024년 4월 4일
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?

답변 (2개)

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

Guillermo
Guillermo 2024년 4월 4일
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).

카테고리

Help CenterFile Exchange에서 General Applications에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by