Include gui panel into another gui panel...

조회 수: 2 (최근 30일)
Stéphane
Stéphane 2016년 1월 11일
댓글: Stéphane 2016년 1월 21일
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

채택된 답변

Adam
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.
  댓글 수: 1
Stéphane
Stéphane 2016년 1월 21일
Thanks, it's just what I needed :-)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Objects에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by