Main Content

MISRA and AUTOSAR Compliance

Generate code that is compliant with MISRA™ C/C++ and AUTOSAR C++ guidelines

When you generate C/C++ code from MATLAB® code, you can configure certain code generation parameters to increase the likelihood of generating code that complies with the MISRA C:2012, MISRA C:2023, MISRA C++:2008, and AUTOSAR C++14 guidelines.

Functions

coder.setupMISRAConfigConfigure parameters to improve generated code compliance with MISRA and AUTOSAR guidelines

Topics

Featured Examples