필터 지우기
필터 지우기

Trigger buttons from other pop-up menu/button in GUI

조회 수: 1 (최근 30일)
steven7337
steven7337 2015년 10월 20일
댓글: steven7337 2015년 10월 20일
Hi,
I want to use a pop-up menu/radio button to trigger other pop-up menu/radio button. For example, if I choose A option in a pop-up menu, a radio button will show up or become brighter and allow the user to choose it. But if I choose B option, the radio button will disappear or become darker and not allow the user to choose it.
The version I'm using is MATLAB R2013b. I wonder if anyone could give me some clues? Thank you very much!

채택된 답변

Adam
Adam 2015년 10월 20일
편집: Adam 2015년 10월 20일
The 'enable' property of a uicontrol is usually used for this. If you really want to you can change the 'visible' property, but this can look odd since it just leaves blank space, but both work the same way with 'On' or 'Off' options, just that the first greys it out, the second hides it completely.
  댓글 수: 1
steven7337
steven7337 2015년 10월 20일
Yes! This is what I want! Thank you very much! :)

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

추가 답변 (0개)

카테고리

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