Include gui panel into another gui panel...
4 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
Adam
2016-1-11
编辑:Adam
2016-1-11
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.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!