GUI inside another GUI

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 Comment

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.

Sign in to comment.

Answers (1)

Tor Hadas
Tor Hadas on 9 Apr 2016

0 votes

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.

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Tags

Asked:

on 8 Apr 2016

Answered:

on 9 Apr 2016

Community Treasure Hunt

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

Start Hunting!