2-d lookup table block codegeneration

my 2d lookup table is set as so.
the generated code from this block is as below.
Even though the input parameter is 8X6 array which should be defined as [0][0],
the generated code defines the input as a 1-dimension array [0].
This results in polyspace defect category "Unreliable cast of pointer"
Is there a way to match the generated code to the parameter's actual size?

1 comentario

Angelo Yeo
Angelo Yeo hace alrededor de 5 horas
Hi, I would like to recommend you to reach out to Technical Support team if you have SMS subscribed.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Simulink Coder en Centro de ayuda y File Exchange.

Productos

Versión

R2024b

Etiquetas

Preguntada:

el 6 de Mayo de 2026 a las 7:56

Comentada:

hace alrededor de 11 horas

Community Treasure Hunt

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

Start Hunting!

Translated by