How should I know whether and which checkboxs are selected?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
In main panel, there are several checkboxs, such as A...D. Each checkbox is bounding a selection for my application.How should I know whether and which checkboxs are selected?
Any suggestions?
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 26 Aug. 2013
checkbox1State = get(handles.checkbox1, 'Value');
checkbox2State = get(handles.checkbox2, 'Value');
checkbox3State = get(handles.checkbox3, 'Value');
and so on.
1 Kommentar
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Environment and Settings finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!