Matlab gui check box problem

In my GUI file i have 6 check boxes. When i run it for the first time the results are good. But if i run it for second time the results are not matching. So what i want, i need to reset all the values of check boxes upon starting. How can i do that. Thanks

 Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 10 de Nov. de 2012
Editada: Azzi Abdelmalek el 10 de Nov. de 2012

0 votos

set them in your opening function
set(handles.yourcheckbox,'value',1)

1 comentario

satendra kumar
satendra kumar el 10 de Nov. de 2012
Hey Thanks man. I have one more doubt: I have a radio button group. In that one button is automatically selected. I want nothing should be selected. How can i do that thanks

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Debugging and Analysis en Centro de ayuda y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by