How to link Radio button and Push button (Matlab GUI)
Mostrar comentarios más antiguos
When handles.radiobutton1 is selected then
user click the Push button the code is executed.
How to implement this? see attach file
Respuesta aceptada
Más respuestas (2)
Ali Noori
el 25 de Jun. de 2015
To link between push button and radio button, do like this:
function pushbutton1_Callback(hObject, eventdata, handles)
if get(handles.radiobutton1,'Value') your function % do something end if get(handles.radiobutton2,'Value') your function % do something else end if get(handles.radiobutton3,'Value') your function %do someething else end end
Ali Noori
el 25 de Jun. de 2015
0 votos
To link between push button and radio button, see attached file:
Categorías
Más información sobre Interactive Control and Callbacks en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!