Boolean conditions in DRS of POlyspace code prover

1 回表示 (過去 30 日間)
Shaku kaa
Shaku kaa 2016 年 9 月 19 日
回答済み: Alexandre De Barros 2016 年 9 月 20 日
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

採用された回答

Alexandre De Barros
Alexandre De Barros 2016 年 9 月 20 日
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 件)

Community Treasure Hunt

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

Start Hunting!

Translated by