Set a pull down menu

조회 수: 2 (최근 30일)
Melanie Wallace
Melanie Wallace 2015년 4월 18일
답변: Geoff Hayes 2015년 4월 18일
The user inputs certain values in one GUI and is then taken to another GUI that will graph results. The second GUI also has a pull down menu of information so that the user can manipulate the graph. I want to be able to set the pull down menu to a specific option in the opening function depending on what is chosen in the first GUI. Is there any way to do this?
  댓글 수: 1
Image Analyst
Image Analyst 2015년 4월 18일
Do you mean that you want to check or uncheck a menu item? What exactly does "set the pull down menu to a specific option" mean to you?

댓글을 달려면 로그인하십시오.

답변 (1개)

Geoff Hayes
Geoff Hayes 2015년 4월 18일
Melanie - see http://www.mathworks.com/matlabcentral/answers/146215-pass-data-between-gui-s for an example on how you can pass data between two GUIs. In this case, you want your second GUI to be able to get data that has been set in the first so that you can determine how to populate a pop-up menu.

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by