MISRA- und AUTOSAR-Konformität
Wenn Sie C/C++ Code aus MATLAB® Programmcode generieren, können Sie bestimmte Codegenerierungsparameter konfigurieren, um die Wahrscheinlichkeit zu erhöhen, dass der generierte Code mit den Richtlinien MISRA C:2012, MISRA C:2023, MISRA C++:2008 und AUTOSAR C++14 konform geht.
Funktionen
coder.setupMISRAConfig | Configure parameters to improve generated code compliance with MISRA and AUTOSAR guidelines |
Themen
- Generate C/C++ Code with Improved MISRA and AUTOSAR Compliance
Configure code generation parameters to increase the MISRA and AUTOSAR compliance of the generated C/C++ code.
- MISRA C:2012 Coding Directives and Rules Supported for Code Generation
The generated C code is compliant with these mandatory or required coding rules in the MISRA C:2012 guidelines.
- MISRA C:2023 Coding Directives and Rules Supported for Code Generation
The generated C code is compliant with these mandatory or required coding rules in the MISRA C:2023 guidelines.
- MISRA C++:2008 and AUTOSAR C++14 Coding Rules Supported for Code Generation
The generated C++ code is compliant with these required coding rules in the MISRA C++:2008 and AUTOSAR C++14 guidelines.