![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/306023/image.png)
How to assign numeric value to radio button in gui?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Safeena Ahsan
el 30 de Mayo de 2020
Comentada: Mehmed Saad
el 30 de Mayo de 2020
I am making a calculator to calculate total time of different sets of activities using MATLAB Gui. I have to use four radio button groups each with different sets of options as displayed in picture below. How to give different numeric value to each option of radio buttons? one option from every set has to be calculated and all options are different in each set.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/306011/image.png)
0 comentarios
Respuesta aceptada
Mehmed Saad
el 30 de Mayo de 2020
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/306023/image.png)
I usually use UserData but you can use Tags also
1 comentario
Mehmed Saad
el 30 de Mayo de 2020
see the first example.
Más respuestas (0)
Ver también
Categorías
Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!