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

 采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2012-11-10
编辑:Azzi Abdelmalek 2012-11-10
set them in your opening function
set(handles.yourcheckbox,'value',1)

1 个评论

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

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Simulink Check 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by