how to enable/disable a pushbutton based on a radio selection? (guide gui)
6 views (last 30 days)
Show older comments
I have a radio button group woth 2 buttons; depending on which radiobutton is selected, I want to enable/disable a pushbutton.
1 Comment
Answers (1)
Sean de Wolski
on 20 Dec 2012
In the radio button or uibuttongroup callback:
set(handles.pushbutton1,'enable','off');
1 Comment
Christian Guitart
on 12 May 2016
Hello,
Can you explain me how to do the same task but on programmatic GUI?
Thanks in advance,
See Also
Categories
Find more on Migrate GUIDE Apps 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!