Boolean conditions in DRS of POlyspace code prover
조회 수: 1 (최근 30일)
이전 댓글 표시
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
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Options at Command Line Only에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!