Local variables are getting generated after code generation using embedded coder and if statement expression is not Boolean type throwing an error after running polyspace
Show older comments
An Image shown below in which guard condition is mentioned whose if statement is non compitant as per MISRA C 2012 Rule 14.4
As per Rule if statement should have boolean type expression.
Accepted Answer
More Answers (0)
Categories
Find more on MISRA C:2012 Directives and Rules in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!