フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Replace several if loops

2 ビュー (過去 30 日間)
Frank
Frank 2015 年 1 月 23 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hi, I have a GUI with a plot and several checkboxes. If a checkbox is ticked, a certain piece of information is added to the plot (which is different for every checkbox).
To check if the boxes are ticked, I am currently using
if checkbox1==1
plot(...)
end
for every single button. This is rather complicated and not really intuitive. Are there any elegant options (functions?) to check if the box has been ticked and to allocate a plot command to this box?
Thanks!

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by