Boolean conditions in DRS of POlyspace code prover
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Shaku kaa
le 19 Sep 2016
Réponse apportée : Alexandre De Barros
le 20 Sep 2016
i want to indiacate FALSE and TRUE for a constant/calibration in a Polyspace code prover's Data Range Specification... how to do it?
Thanks in Advance
0 commentaires
Réponse acceptée
Alexandre De Barros
le 20 Sep 2016
Hi,
the values TRUE and FALSE do not exist in the C language. They are probably defined to integer values in your application with some code like:
#define TRUE 1
#define FALSE 0
So you simply have to use the integer values in the DRS, instead of TRUE and FALSE.
Best regards,
Alexandre
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Options at Command Line Only dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!