Clear Filters
Clear Filters

Issue with Fixed Point Designer in Simulink, Slope And Bias Max value generate an "Inconsistent numeric values for parameter..."

8 views (last 30 days)
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?

Answers (1)

Mathieu Leblond
Mathieu Leblond on 8 May 2019
Please find attach the answer mathworks gived us at the time

Categories

Find more on Floating-Point to Fixed-Point Conversion in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!