GUI : uicontrol values
2 views (last 30 days)
Show older comments
Commented: Clément P on 1 Apr 2016
I have a GUI with several check boxes/togglebuttons/Pushbutton. I want to set the value to 0 of all the uicontols when I push one other. Is there a way to do it either than putting every value to 0.
Currently, I have this code at the beginning of all my callbacks function :
It's working, but it's making my code very long and hard to read.
Orion on 1 Apr 2016
one way is using findall :
% set all the checkboxes of the current figure to 0 :
% same for togglebuttons
More Answers (0)
Find more on Migrate GUIDE Apps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!