MATLAB: Matlab gui check box problem

checkboxguiMATLABmatlab guireset

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

Best Answer

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