- set() the Value of the first button to 0 after it is added to the uibuttongroup; or
- create a junk button first and add it to the uibuttongroup, and then after the other buttons are added, delete the junk button.
by default one radio button is selected in button group but i want in initial no radio button is selected with Buttongroup
19 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
praveen chandaliya
le 8 Sep 2017
Réponse apportée : Walter Roberson
le 9 Sep 2017
Button group
0 commentaires
Réponse acceptée
Walter Roberson
le 9 Sep 2017
That does not appear to be possible in R2014b or later. It appears to me that the first button added to a uibuttongroup automatically has its Value set to 1.
Your options are:
0 commentaires
Plus de réponses (1)
Image Analyst
le 8 Sep 2017
That's now how they operate I don't think. What you should use instead is a popup menu, or a listbox.
0 commentaires
Voir également
Catégories
En savoir plus sur String dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!