How do I open multiple GUIs in the same window?
2 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
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 a tab group? https://www.mathworks.com/matlabcentral/newsreader/view_thread/321312
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?
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!