Changing the value of a spinner from another spinner
9 次查看(过去 30 天)
显示 更早的评论
Hello all,
I have 2 spinners in my app, spinner1 and spinner2, and I want to change the value of spinner 2 while I am changing the value of spinner1. I have tried several things without luck. The following code describes what I am trying to do.
function spinner1ValueChanging(app, event)
changingValue = event.Value;
app.spinner2ValueChanging(app, event);
end
Thanks for your help!!
2 个评论
采纳的回答
jonas
2020-7-14
I'll just put it here for future reference :)
Like most other objects, the slider is adjusted by changing the value field
app.spinner2.Value = changingValue
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Testing Frameworks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!