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.
Afficher commentaires plus anciens
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 commentaire
Walter Roberson
le 18 Sep 2017
The GUI image did not get enclosed.
Réponses (1)
Walter Roberson
le 18 Sep 2017
outer = uipanel()
inner = uipanel('Parent', outer)
but = uicontrol('style', 'push', 'Callback', @(src, event) delete(outer) )
Catégories
En savoir plus sur Get Started with MATLAB dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!