MATLAB Answers

0

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

  0 Comments

Sign in to comment.

1 Answer

Answer by Azzi Abdelmalek
on 10 Nov 2012
Edited by Azzi Abdelmalek
on 10 Nov 2012
 Accepted Answer

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

  1 Comment

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

Sign in to comment.