how to enable/disable a pushbutton based on a radio selection? (guide gui)
4 次查看(过去 30 天)
显示 更早的评论
I have a radio button group woth 2 buttons; depending on which radiobutton is selected, I want to enable/disable a pushbutton.
1 个评论
回答(1 个)
Sean de Wolski
2012-12-20
In the radio button or uibuttongroup callback:
set(handles.pushbutton1,'enable','off');
1 个评论
Christian Guitart
2016-5-12
Hello,
Can you explain me how to do the same task but on programmatic GUI?
Thanks in advance,
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!