Borrar filtros
Borrar filtros

How to reset toggle buttons with a push button?

3 visualizaciones (últimos 30 días)
Han
Han el 13 de Jul. de 2013
I have one push button (pushbutton1) and two toggle buttons in GUIDE (togglebutton1, togglebutton2).
Is there any way to connect the push button and the toggle buttons so that every time the push button is pushed, the two toggle buttons are reset to un-toggled state?
(if a toggle button is not toggled to begin with, then the push button does not do anything to that toggle button)
Thank you very much

Respuesta aceptada

Dishant Arora
Dishant Arora el 13 de Jul. de 2013
push buttton callback:
set(handles.togglebutton1,'value',0);
set(handles.togglebutton2,'value',0);

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by