Main Content

Programming Language

Change programming language for generated code

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.


Select C or C++ Programming Language

Choose C or C++ as the programming language for code generation.

Choose Build Approach and Configure Build Process

Build executable programs from generated code.

Select and Configure C or C++ Compiler

Consider programming language compliance for generated code and select a compiler for the build process.


Troubleshoot Compiler Issues

Identify and fix issues that prevent compiler operation in the build process.