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

 Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 10 Nov 2012
Modifié(e) : Azzi Abdelmalek le 10 Nov 2012

0 votes

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

1 commentaire

satendra kumar
satendra kumar le 10 Nov 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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur App Building dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by