Programming Language
Change programming language for generated code
当您选择的代码生成语言example C or C++), your selection defines many generated code features and selects which features are available in theConfiguration Parametersdialog. When you configure code generation for your model, the language selection is the second configuration parameter to set.
Topics
- Select C or C++ Programming Language
Choose C or C++ as the programming language for code generation.
- Approaches for Building Code Generated from Simulink Models
Choose CMake, toolchain, or template makefile approach for building generated code.
- Select and Configure C or C++ Compiler
Consider programming language compliance for generated code and select a compiler for the build process.
Troubleshooting
Identify and fix issues that prevent compiler operation in the build process.