Matlab gui check box problem

3 views (last 30 days)
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

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 10 Nov 2012
Edited: Azzi Abdelmalek on 10 Nov 2012
set them in your opening function
set(handles.yourcheckbox,'value',1)
  1 Comment
satendra kumar
satendra kumar on 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

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!