AppDesigner Spinner with non-integer stepsize
2 次查看(过去 30 天)
显示 更早的评论
Hi all,
I'm trying to create an app that includes a spinner component with a display precision of one decimal and a stepsize of 0.1 but whenever I try to set the stepsize to 0.1 I get an error message saying: "Step must be numeric and when rounding is on it must be a whole number".
I've unchecked the "round to nearest integer" checkbox and under display I've chosen "exactly one decimal". (Also I'm using 2017a)
Can someone please tell me what I'm doing wrong :-)
Thanks in advance! Kind regards / H
0 个评论
采纳的回答
Afiq Azaibi
2017-3-23
Your workflow is reasonable and it should work. Currently, those options are under the "Design View". In order to change the step size to a non integer value, go into the "Code View" and there, under the "Inspector" you will see that you can set the step size to a decimal value under the "Step" value. I work for MathWorks and have forwarded this information to the App Designer team.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!