hamedham
Newbie level 1

hi fiends
i have a big problem in matlab:
i want to set 150 checkbox properties such as 'value' 'string or etc,
for example by clicking on 'pushbutton1' this actions must be take place:
all 150 checkbox 'value's set to 1.
i dont want to write 15 lines of set like this
set(handles.checkbox1,'value',1)
set(handles.checkbox2,'value',1)
set(handles.checkbox3,'value',1)
...
set(handles.checkbox150,'value',1)
is there a short way
i have a big problem in matlab:
i want to set 150 checkbox properties such as 'value' 'string or etc,
for example by clicking on 'pushbutton1' this actions must be take place:
all 150 checkbox 'value's set to 1.
i dont want to write 15 lines of set like this
set(handles.checkbox1,'value',1)
set(handles.checkbox2,'value',1)
set(handles.checkbox3,'value',1)
...
set(handles.checkbox150,'value',1)
is there a short way