MATLAB Answers

F
0

How can I load a GUI into another GUI?

Asked by F
on 16 Jul 2012
Hi,
I want to have a main window with a pop-up menu, and depending on what is chosen in the menu, load a GUI (created with GUIDE) in a uipanel.
Is that possible?
Or do you know other ways to swap a widget on the fly?
Thanks

  1 Comment

Jan
on 16 Jul 2012
What exactly does "swap a widget" mean?

Sign in to comment.

2 Answers

Answer by Jan
on 16 Jul 2012

No, you cannot load a figure into a panel. Do you want the menubar to appear twice?
But you can copy the children of the figure to another figure, see copyobj.

  0 Comments

Sign in to comment.


Answer by Caleb
on 16 Jul 2012

If you design the GUI programmatically, this should be possible, but with GUIDE I don't think so.

  0 Comments

Sign in to comment.