Hi! I need change color of pushbutton when I choose this pushbutton. For example, I select pushbutton1(radiobutton1) and its color changes to green. In same way, color of others pushbutton changes to red. I have 80 pushbuttons, is there any way to make this change at once through a cycle or do I have to write these lines of code for all of them?
case 'radiobutton1' set(handles.pushbutton1,'BackgroundColor','green'); set(handles.pushbutton2,'BackgroundColor','red'); set(handles.pushbutton3,'BackgroundColor','red'); ....
Best Answer