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 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