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 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

Walter Roberson
Walter Roberson il 18 Set 2017
outer = uipanel()
inner = uipanel('Parent', outer)
but = uicontrol('style', 'push', 'Callback', @(src, event) delete(outer) )

Categorie

Scopri di più su App Building in Help Center e File Exchange

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by