I am not matlab programmer but I need to create an interface using matlab!
This qusetion should be very easy for matlab programmers 🙂
I have an interface which contains radio button group panel “OperationPanel”
,4 radioButtons inside it which names are “addBtn, subBtn, divBtn, mulBtn” and I have command button, I want when I click over the button to get the value of the selected radioButton
What is the commad I should use ? I google it and found that if I make
get(handles.NewValue,'Tag');
I tired it but it doesn’t work!! Can I hava some help!
Here’s a quick example to illustrate how to get the value of a radio-button group component:
Obviously you could add more validations on the input numbers and so on…