When you select the code generation language (for example C or C++), your selection defines many generated code features and selects which features are available in the Configuration Parameters dialog. When you configure code generation for your model, the language selection is the second configuration parameter to set.
Choose C or C++ as the programming language for code generation.
Build executable programs from generated code.
Consider programming language compliance for generated code and select a compiler for the build process.
Identify and fix issues that prevent compiler operation in the build process.