Error message whenever stepwise is run
이전 댓글 표시
As a simple test, I did the following:
dog =
1 2 6
2 3 7
3 4 8
4 5 9
5 6 10
cat =
101
102
103
104
105
Running stepwise(dog, cat) results in the following error:
Message Catalog MATLAB:hg:uicontrol was not loaded from the file. Please check file location, format or
contents
Caught "std::exception" Exception message is:
Message Catalog MATLAB:gbtobjects was not loaded from the file. Please check file location, format or contents
Caught "std::exception" Exception message is:
Message Catalog MATLAB:gbtobjects was not loaded from the file. Please check file location, format or contents
Caught "std::exception" Exception message is:
Message Catalog MATLAB:gbtobjects was not loaded from the file. Please check file location, format or contents
댓글 수: 15
Adam Danz
2020년 9월 14일
We need to see the line that generate this error (the line that calls stepwise) and the inputs.
Mark Walton
2020년 9월 14일
Adam Danz
2020년 9월 14일
The error message contains stepwise(dot,cat) but that doesn't necessarily mean that's the line you called that caused the error.
Based on these answers below, you may be missing an fclose(fid).
Mark Walton
2020년 9월 14일
Jon
2020년 9월 14일
When I run the commands you list above it opens the user interface and does not give any errors. I am running ver 2020A. So it does not seem to be a general bug, but something specific to your setup or situation.
Mark Walton
2020년 9월 14일
Adam Danz
2020년 9월 14일
Did you look into those links I provided?
Other users got similar error message when too many files were open using fopen.
If that's the problem, "fclose all" should fix it.
Mark Walton
2020년 9월 14일
편집: Mark Walton
2020년 9월 14일
Adam Danz
2020년 9월 14일
Does the problem persist after restarting Matlab?
Mark Walton
2020년 9월 14일
Adam Danz
2020년 9월 14일
Type opengl info and copy that info into a text file so you know what you started with.
Then type opengl software to change from hardware to software.
Likewise for other versions
Walter Roberson
2020년 9월 14일
Try
restoredefaultpath
rehash toolboxcache
and then run your code with stepwise(). If it works, then you probably have a conflicting function from a third-party toolbox on your regular MATLAB path.
Mark Walton
2020년 9월 15일
This suggestion might be helpful
The file described in that answer was found in the directory below on my system (r2019b)
C:\Program Files\MATLAB\R2019b\resources\MATLAB\en
If that file is where it should be, then perhaps you should contact tech support.
Walter Roberson
2020년 9월 15일
Once you get the error message about message catalog you probably have to quit MATLAB and restart it.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Graphics Performance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!