hObject is not created when running GUIDE *.m file - what can be done?
1 次查看(过去 30 天)
显示 更早的评论
Hello,
please see snap shot below:
I'm using MATLAB 2013b.
It's works perfectly fine in MATLAB 2015 and above.
What could be the cause of this? I need to compile my GUI in MATLAB 2013, but for some reason it doesn't want to "create" any hObject & handles objects...
What can be done?
THANKS !!!
4 个评论
Rik
2020-11-24
I don't see the issue. At some point the handle to objects was no longer exposed to the user, but treated as an object. None of the syntax became incompatible because of that.
f=figure(1);set(f,'Visible','off')
set(f,'UserData','foo')
disp(get(1,'UserData'))
class(f)
There are many reasons to avoid GUIDE, but this specific 'issue' is not one of them.
采纳的回答
Jan
2020-11-24
The m-files created by GUIDE are not compatible with other Matlab versions You can expect such troubles.
3 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!