Issue with Fixed Point Designer in Simulink, Slope And Bias Max value generate an "Inconsistent numeric values for parameter..."
10 次查看(过去 30 天)
显示 更早的评论
I've been experiencing this issue which doesn't really make sense. I'm trying to generate a constant of 2.55 using a an using fixdt(0,8,0.01,0) slope (expected 255 / 255 Value) but the Representable maximum: 2.5500000000000003 in the propriety of the constant. Same situation apply when using a 16 bit with the 0.0001 resolution... When trying to execute the diagram i'm getting the error "Inconsistent numeric values for parameter 'Value' in maxRoundingIssue/Constant_8bit': Quantized parameter value (2.5500000000000003) is greater than maximum (2.55)"
Have a look at the screenshot, is there something i'm missing?

1 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Floating-Point to Fixed-Point Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!