Linking two dropdown menus to a pushbutton in a GUI
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have two dropmenus with values set to each dropdown respectively. I would like to use a pushbutton to link the two dropdowns and connect the options from each drop-down. How do I write a callback for the pushbutton in this case?
0 commentaires
Réponses (1)
Ajay Kumar
le 13 Jan 2020
Modifié(e) : Ajay Kumar
le 13 Jan 2020
In the ButtonPushed callback, you can directly assign the values of dropdown menu. For eg:
Dropdown.Value = "Your Option in dropdown";
0 commentaires
Voir également
Catégories
En savoir plus sur Interactive Control and Callbacks 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!