Embed one GUI (made using GUIDE) into another GUI

10 vues (au cours des 30 derniers jours)
Holger Hevener
Holger Hevener le 3 Fév 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

Réponse acceptée

Walter Roberson
Walter Roberson le 3 Fév 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 commentaires
Walter Roberson
Walter Roberson le 3 Fév 2014
figure windows (and GUIs are figure windows) cannot be contained in anything.
Holger Hevener
Holger Hevener le 3 Fév 2014
Modifié(e) : Holger Hevener le 3 Fév 2014
This is an answer I didn't want to hear about the UI development in Matlab but thanks anyway :-)
Sad but true.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by