Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
In the group of buttons 1 to 9, what code should I use to print 0 if none of the buttons is selected, or if one is selected?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
In the group of buttons 1 to 9, what code should I use to print 0 if none of the buttons is selected, or if one is selected?
I want to use '' if else'' but when radio buttons become nonselected, value should show the zero value??
1 comentario
Respuestas (1)
Walter Roberson
el 13 de Feb. de 2019
if you are using a uibuttongroup then check isempty() the Selected property of the group.
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!