How can i open gui inside a gui, by closing the first one while the second opens ?

2 views (last 30 days)
I'm able to open a gui inside another gui, but i want the first one to be closed while the second one opens. Can anyone help me with this please.
  4 Comments
Geoff Hayes
Geoff Hayes on 16 Jul 2014
You would use the delete command with the main GUI figure name just after calling the line of code to launch/open the sub-GUI (all within the callback of the push button that is supposed to launch the sub-GUI).
Namratha
Namratha on 16 Jul 2014
Hi, actually the close command works fine, if I use the delete command, it gives a warning that the main_gui not found. Anyways the close command works fine. Thank you Jan Simon and Geoff Hayes.

Sign in to comment.

Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!