Double Scalar error. I am trying to figure out this error message. Any help appreciated.
1 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/564966/image.jpeg)
1 个评论
Walter Roberson
2021-3-28
Use the debugger to put a breakpoint at the line where the assignment is, and check to see whether Force is a scalar or not, and what value Force is, and what the value of app.ForceEditField.Limits are.
回答(1 个)
Reshma Nerella
2021-3-31
Hi,
This error message is displayed when you try to assign a value that is out of the limits specified for a Numeric Edit Field.
Consider checking the limits for the ForceEditField in your app and then assign proper values to it or modify the limits for the ForceEditField so that it can accommodate any obtained value.
Hope this helps!
1 个评论
Walter Roberson
2021-3-31
For example, hypothetically the field might have been restricted to positive values, but on your last step you might be generating a negative value.
另请参阅
类别
在 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!