How should I know whether and which checkboxs are selected?
조회 수: 9 (최근 30일)
이전 댓글 표시
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
채택된 답변
Image Analyst
2013년 8월 26일
checkbox1State = get(handles.checkbox1, 'Value');
checkbox2State = get(handles.checkbox2, 'Value');
checkbox3State = get(handles.checkbox3, 'Value');
and so on.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!