Matlab GUI - remove a control object
46 次查看(过去 30 天)
显示 更早的评论
Hi all,
I know that the following code:
uicontrol('style','text','units','pixels','position'[10,2,30,5]);
will creat a text object in my GUI form.
My question is how I can remove it? Is there any command that I can use to remove a control object?
Thanks
0 个评论
采纳的回答
Fangjun Jiang
2011-9-8
h=uicontrol('style','text','units','pixels','position',[100,200,30,50])
delete(h);
0 个评论
更多回答(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!