How do I open multiple GUIs in the same window?

조회 수: 7 (최근 30일)
Gerrit
Gerrit 2013년 11월 28일
댓글: Omer Yuval 2020년 10월 18일
Hey,
After pushing a button in my main GUI, I want another GUI to open in the same window (which may include closing the main GUI). What I've tried to far is creating all GUIs in one changing the buttons', boxes', etc. visibility depending on whether needed or not. It works but it's pretty slow because I've got plenty of stuff in the GUI. And since the amount of code is huge I don't really want all of that in just one GUI.
Any idea how to solve this one?
  댓글 수: 1
Omer Yuval
Omer Yuval 2020년 10월 18일
https://uk.mathworks.com/matlabcentral/fileexchange/81348-gui_template

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

답변 (1개)

Walter Roberson
Walter Roberson 2013년 11월 29일
If you are willing to close the main GUI, then what does it mean to open another GUI in the same window? In MATLAB, a GUI is a figure() that has actions associated with it, and in MATLAB, a figure() and a window are the same thing.
Have you considered using uipanel() to parent groups of controls, and then setting the complete panel invisible inside of changing the controls one by one?

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by