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 个评论

Hi, I would like to recommend you to reach out to Technical Support team if you have SMS subscribed.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Simulink Coder 的更多信息

产品

版本

R2024b

提问:

2026-5-6,7:56

评论:

about 18 hours 前

Community Treasure Hunt

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

Start Hunting!

Translated by