Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to set multiple handles at once

Status
Not open for further replies.

hamedham

Newbie level 1
Newbie level 1
Joined
Apr 24, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,287
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
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top