Hi. I'm a student and currently working on the MATLAB app designer and would like to know how to correctly use the checkbox in order to show the graph if I tick the box

1 view (last 30 days)
義典 鈴木
義典 鈴木 on 29 Oct 2021
value = app.CheckBox.Value;
x= 0:pi/100:2*pi;
y= cos(x);
switch value
case 0
app.CheckBox2.Value = 0;
case 1
app.CheckBox2.Value = 1;
end

Answers (0)

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by