create main panel and create sub panel on main panel. in subpanel one close button. when we press close button than main panel and subpanel go closed.
1 回表示 (過去 30 日間)
古いコメントを表示
create main panel and create sub panel on main panel. in subpanel one close button. when we press close button than main panel and subpanel go closed.
i have enclosed GUI IMAGE
回答 (1 件)
Walter Roberson
2017 年 9 月 18 日
outer = uipanel()
inner = uipanel('Parent', outer)
but = uicontrol('style', 'push', 'Callback', @(src, event) delete(outer) )
0 件のコメント
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!