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
2 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!