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!