Embed one GUI (made using GUIDE) into another GUI

10 visualizaciones (últimos 30 días)
Holger Hevener
Holger Hevener el 3 de Feb. de 2014
Editada: Holger Hevener el 3 de Feb. de 2014
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
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
Walter Roberson
Walter Roberson el 3 de Feb. de 2014
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)

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by