Polyspace Orange Scalar Overflow error
显示 更早的评论
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
2024-10-26
0 个投票
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:
类别
在 帮助中心 和 File Exchange 中查找有关 Run Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!