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

10 visualizaciones (últimos 30 días)
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?

Respuestas (1)

Mathieu Leblond
Mathieu Leblond el 8 de Mayo de 2019
Please find attach the answer mathworks gived us at the time

Categorías

Más información sobre Floating-Point to Fixed-Point Conversion en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by