Error message whenever stepwise is run
Show older comments
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 Comments
Adam Danz
on 14 Sep 2020
We need to see the line that generate this error (the line that calls stepwise) and the inputs.
Mark Walton
on 14 Sep 2020
Adam Danz
on 14 Sep 2020
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
on 14 Sep 2020
Jon
on 14 Sep 2020
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
on 14 Sep 2020
Adam Danz
on 14 Sep 2020
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
on 14 Sep 2020
Edited: Mark Walton
on 14 Sep 2020
Adam Danz
on 14 Sep 2020
Does the problem persist after restarting Matlab?
Mark Walton
on 14 Sep 2020
Adam Danz
on 14 Sep 2020
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
on 14 Sep 2020
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
on 15 Sep 2020
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
on 15 Sep 2020
Once you get the error message about message catalog you probably have to quit MATLAB and restart it.
Answers (0)
Categories
Find more on Graphics Performance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!