GUI inside another GUI

2 ビュー (過去 30 日間)
kyrresc
kyrresc 2016 年 4 月 8 日
回答済み: Tor Hadas 2016 年 4 月 9 日
I want to create a figure with two GUI's. There's three different cases the user can choose from - which I want to use a drop down menu for. When the user has chosen a case, he can decide between two scenarios, and here I want to use a checkbox. What is the easiest way of implementing this? My idea was to have the callback function for the checkbox inside the switch (I use a switch for the three cases) but that obviously didn't work. Help much appreciated!
  1 件のコメント
Geoff Hayes
Geoff Hayes 2016 年 4 月 9 日
kyrrsec - please clarify how the two GUIs are used. Does one have the dropdown and the other the checkbox? Where is the switch? How does this relate to a GUI inside another GUI. You need to provide more information.

サインインしてコメントする。

回答 (1 件)

Tor Hadas
Tor Hadas 2016 年 4 月 9 日
Create the gui via code, in the callback function of the dropdown menu.
OR
Use GUIDE and turn the visibility of all controls to off. then, turn the right controls visible in the callback function.

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by