expected a declaration error using polyspace
조회 수: 7 (최근 30일)
이전 댓글 표시
While using polyspace to run MISRA check, I get this error "expected a declaration" for configration bits. How can I fix this?
댓글 수: 0
답변 (1개)
Anirban
2020년 1월 21일
편집: Anirban
2020년 1월 21일
Hi Satya,
It looks like the error appears on a macro. Is the macro _CONFIG (or a macro used in it) not defined previously? If it is defined, for some reason, Polyspace cannot access the definition.
You can see some of the common reasons for the error here: https://www.mathworks.com/help/codeprover/ug/undeclared-identifier.html
But your specific case, please contact MathWorks Technical Support. See here: https://www.mathworks.com/help/codeprover/ug/obtain-configuration-information.html
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Run Settings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!