Toggling a radio button when switching popup menu options

조회 수: 1 (최근 30일)
Adam Kaas
Adam Kaas 2012년 5월 18일
What I'm looking to do is when a user selects a different option on the popup menu in my GUI, I can tell the radio buttons I have whether they need to be toggled on or off for the new option. Does that make sense?

채택된 답변

Sean de Wolski
Sean de Wolski 2012년 5월 18일
This will be done in the same way as editting the strings in your previous questions. You will have to get() the information you want, process it, and then set() other components based on this. For radio buttons the property to toggle it is its 'value' property.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by