Why do I get "Warning: Cannot load an object of class 'UIControl'" and how can I fix it?
Ältere Kommentare anzeigen
I built a GUI that saves a .mat file before running a simulation. I can reload files I save without issue. But my colleague recently sent me one of these MAT files and when I tried to open it got the following:
Warning: Cannot load an object of class 'UIControl' Its class cannot be found.
We haven't encountered this issue before. But recently he upgraded to Matlab 2014b while I still have Matlab 2014a. He can load files I saved with no issue but I get this warning when I try to load files he saved.
After some preliminary research I think employing saveobj/loadobj may solve our problem. But I don't really understand their documentation or what the problem really is. So, I'm not sure how to use saveobj and loadobj.
Can anyone explain to me why I have this issue in the first place, what saveobj/loadobj do and how to solve the problem? Any help with those 3 questions would be greatly appreciated.
Thanks
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Whos finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!