Returns error after clicking on a plot
이전 댓글 표시
Returns the following error after plotting graphs and clicking on a plot.
"Warning: Error occurred while executing the listener callback for event ButtonExited defined for
class matlab.graphics.primitive.canvas.JavaCanvas:
Error using getDatetimeSettings
Invalid default value for property 'MonthsOfYear' in class 'datetime':
Reference to non-existent field 'matlab'.
Error in matlab.graphics.controls.ToolbarController/createFadeInTimer
Error in matlab.graphics.controls.ToolbarController/get.FadeInTimer
Error in matlab.graphics.controls.ToolbarController/hideToolbar
Error in matlab.graphics.controls.ToolbarController/handleMouseExited
Error in matlab.graphics.controls.ToolbarController>@(e,d)obj.handleMouseExited(e,d)
Warning: Error occurred while executing the listener callback for event ButtonExited defined for
class matlab.graphics.primitive.canvas.JavaCanvas:
Error using getDatetimeSettings
Invalid default value for property 'MonthsOfYear' in class 'datetime':
Reference to non-existent field 'matlab'.
Error in matlab.graphics.controls.ToolbarController/createFadeInTimer
Error in matlab.graphics.controls.ToolbarController/get.FadeInTimer
Error in matlab.graphics.controls.ToolbarController/hideToolbar
Error in matlab.graphics.controls.ToolbarController/handleMouseExited
Error in matlab.graphics.controls.ToolbarController>@(e,d)obj.handleMouseExited(e,d) "
Things were working properly till yesterday. I am unable to find what changed.
The following different steps didnt resolve the issue:
1) restoredefaultpath
2) reset(gca)
3) reinstall matlab (I am using networked version in Institute)
답변 (2개)
Sajith Kk
2019년 9월 16일
1 개 추천
댓글 수: 3
ed
2019년 9월 17일
I just updated to version 2019b, and that version freaks out even more when there is a file called "settings.m" in an included folder. This is rather embarassing. Please Matlab, let your users name their files whatever they want.
Lukas Hagmeyer
2020년 9월 29일
I have had the same problem with settings.m, my solutions was to rename the file.
In the future, i am checking the doc for commands with similar name. This Problem could even happen with similar variables names.
z Chao
2020년 11월 15일
I met this problem when im plotting the training-progress of deep learning toolbox, this solution solved my problem perfectly, Thank u !!!
jianpeng
2022년 3월 23일
0 개 추천
Hello, which folder do you want to change the settings.m file in, I don't understand it, it's driving me crazy, I hope you can answer it for me!
댓글 수: 1
ed
2022년 3월 23일
The point is that if your project contains a file called 'settings.m' (or some other filename which conflicts with a built in matlab file) you may have this problem. Try renaming files in your project with rather generic filenames to use more custom names.
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!