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