Effacer les filtres
Effacer les filtres

Include gui panel into another gui panel...

3 vues (au cours des 30 derniers jours)
Stéphane
Stéphane le 11 Jan 2016
Commenté : Stéphane le 21 Jan 2016
Dear all,
I've got different GUIs, each opening in their own figure. I would like to have a kind of "master GUI" that would open, on demande, the different GUIs, but including them into a subpanel of the "master GUI". For instance, an application will need two of the subGUIs while another one only one, so I don't need to open all of them all the time.
Is there a (nice) way to do it ?
Thanks
Stéphane

Réponse acceptée

Adam
Adam le 11 Jan 2016
Modifié(e) : Adam le 11 Jan 2016
This is easy enough if you use programmatic GUIs, but not if you do your GUIs in GUIDE.
Numerous of my GUIs I do programmatically using classes where I will quite often have one class for each panel (or an object for each panel at least, if panels are repeated).
I also use the GUI Layout Toolbox which you can find on Mathworks File Exchange which makes it easier to position these programatically. This way I can just load up an object of whatever panel class I want into different GUIs for a modular approach.
is the version of GUI Layout toolbox for versions of Matlab before R2014b.
is the version for R2014b and later.
  1 commentaire
Stéphane
Stéphane le 21 Jan 2016
Thanks, it's just what I needed :-)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps 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