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

Angelo Yeo
Angelo Yeo 2026년 5월 11일
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일

댓글:

2026년 5월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by