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 Ansicht (letzte 30 Tage)
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

Antworten (1)

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

Kategorien

Mehr zu App Building finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by