Include gui panel into another gui panel...

4 views (last 30 days)
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

Accepted Answer

Adam
Adam on 11 Jan 2016
Edited: Adam on 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.

More Answers (0)

Categories

Find more on Graphics Objects in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!