How to assign numeric value to radio button in gui?
1 view (last 30 days)
Show older comments
Safeena Ahsan
on 30 May 2020
Commented: Mehmed Saad
on 30 May 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.
0 Comments
Accepted Answer
Mehmed Saad
on 30 May 2020
I usually use UserData but you can use Tags also
1 Comment
Mehmed Saad
on 30 May 2020
see the first example.
More Answers (0)
See Also
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!