MATLAB Answers

how to enable/disable a pushbutton based on a radio selection? (guide gui)

53 views (last 30 days)
A
A on 20 Dec 2012
Commented: Christian Guitart on 12 May 2016
I have a radio button group woth 2 buttons; depending on which radiobutton is selected, I want to enable/disable a pushbutton.

  0 Comments

Sign in to comment.

Answers (1)

Sean de Wolski
Sean de Wolski on 20 Dec 2012
In the radio button or uibuttongroup callback:
set(handles.pushbutton1,'enable','off');

  1 Comment

Christian Guitart
Christian Guitart on 12 May 2016
Hello,
Can you explain me how to do the same task but on programmatic GUI?
Thanks in advance,

Sign in to comment.

Tags