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.
조회 수: 4 (최근 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!