Embed one GUI (made using GUIDE) into another GUI

Hi,
is it possible to embed one user interface made by GUIDE (.fig and .m file) into a panel or any other placeholder in another GUI? This way I want to make one UI window showing two subwindows.
I have only seen samples with embedding of single plots but not complete UIs.
Thanks
Holger

 Respuesta aceptada

Walter Roberson
Walter Roberson el 3 de Feb. de 2014

0 votos

GUIDE is designed to only be able to lay out a single figure, I gather. Any additional figures generated are expected to be just graphics that do not need layout or controls.
GUIDE-built GUIs are expected to start up and then immediately return to the caller, leaving the GUI running, rather than expected to start up and not return until "finished".
It is possible to "make it work" by editing the code that GUIDE generates, but GUIDE is not designed for the situation.

3 comentarios

Holger Hevener
Holger Hevener el 3 de Feb. de 2014
Thanks for this answer but how can i embed two GUIDE generated figures into one (master) container. I'd like to embed two or three single UIs into one window without having the callbacks merged. They can still work individually as they would do being two seperate windows and the GUi can also return (not blocking).
I have seen samples on how to embed uipanel or uicontrol elements into another one (<http://www.mathworks.de/de/help/matlab/ref/uipanel.html>) but how can I set the parent of a whole GUIDE generated ui? How do I access the container with all GUI elements?
Is there a solution or a good resource to read about it?
Thanks
Holger
figure windows (and GUIs are figure windows) cannot be contained in anything.
Holger Hevener
Holger Hevener el 3 de Feb. de 2014
Editada: Holger Hevener el 3 de Feb. de 2014
This is an answer I didn't want to hear about the UI development in Matlab but thanks anyway :-)
Sad but true.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Preguntada:

el 3 de Feb. de 2014

Editada:

el 3 de Feb. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by