Vlaue of Slider --> EditField
3 次查看(过去 30 天)
显示 更早的评论
Hello I didnt found out how to get the value of the Slider to the EditField, and the other way around. Can somebody help me? I am using MATLAB2020b and the App designer, so I don´t have one of these so called "handles" anymore and they are used in every tutorial. thank you
0 个评论
采纳的回答
Image Analyst
2021-1-19
I don't use app Designer, but isn't it something like
value = app.sliderName.Value;
app.EditField.String = sprintf('%.3f', value);
更多回答(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!