Polyspace Orange Scalar Overflow error

6 ビュー (過去 30 日間)
Dinesh Kumar
Dinesh Kumar 2024 年 8 月 12 日
回答済み: Akshat Dalal 2024 年 10 月 26 日
Attached the snippet of the scalar orange overflow error reported by polyspace in the project we are working with
how to overcome this orange error as we are sure the reported operation is within sint16 data type result ?

回答 (1 件)

Akshat Dalal
Akshat Dalal 2024 年 10 月 26 日
Hi Dinesh,
If you're confident that the orange check is incorrect, you may justify the orange check or add the code annotation to suppress the warning.
Please follow the below documentation to read about how to apply the justification in Polyspace to suppress warnings:

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by