Polyspace Orange Scalar Overflow error

5 vues (au cours des 30 derniers jours)
Dinesh Kumar
Dinesh Kumar le 12 Août 2024
Réponse apportée : Akshat Dalal le 26 Oct 2024 à 7:24
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 ?

Réponses (1)

Akshat Dalal
Akshat Dalal le 26 Oct 2024 à 7:24
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:

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by