how to close uipanel base on click on pushbutton
1 回表示 (過去 30 日間)
古いコメントを表示
praveen chandaliya
2017 年 9 月 17 日
コメント済み: praveen chandaliya
2017 年 9 月 18 日
how to close uipanel base on click on pushbutton
a6=uicontrol('parent', handles.hsp,'Style','pushbutton','FontSize',11,'FontWeight','bold', ...
'position',[5 20 60 20],'string','close','Callback',@mycloseFunction);
0 件のコメント
採用された回答
Walter Roberson
2017 年 9 月 18 日
outer = uipanel()
inner = uipanel('Parent', outer)
but = uicontrol('style', 'push', 'Callback', @(src, event) delete(outer) )
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Dialog Boxes についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!