GUI inside another GUI

1 visualizzazione (ultimi 30 giorni)
kyrresc
kyrresc il 8 Apr 2016
Risposto: Tor Hadas il 9 Apr 2016
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 Commento
Geoff Hayes
Geoff Hayes il 9 Apr 2016
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.

Accedi per commentare.

Risposte (1)

Tor Hadas
Tor Hadas il 9 Apr 2016
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.

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by