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
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre MISRA C:2012 Directives and Rules en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!