To check that your model or subsystem has a likelihood of generating MISRA C:2012
compliant code, open the Model Advisor and run the
checks in By Task > Modeling Guidelines for MISRA C:2012:
Check usage of Assignment blocks
Check for blocks not recommended for MISRA C:2012
Check for blocks not recommended for C/C++ production code deployment
Check for unsupported block names
Check configuration parameters for MISRA C:2012
Check for equality and inequality operations on floating-point values
Check for bitwise operations on signed integers
Check for recursive function calls
Check for switch case expressions without a default case
Check for missing error ports for AUTOSAR receiver interfaces
Check for missing const qualifiers in model functions
Check integer word length
Check bus object names that are used as bus element names
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office