Toggling a radio button when switching popup menu options

4 vues (au cours des 30 derniers jours)
Adam Kaas
Adam Kaas le 18 Mai 2012
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?

Réponse acceptée

Sean de Wolski
Sean de Wolski le 18 Mai 2012
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.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Environment Customization dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by