How should I know whether and which checkboxs are selected?
4 ビュー (過去 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 件)
参考
カテゴリ
Help Center および File Exchange で Environment and Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!