Main Content

Code Interface Configuration

Configure code interfaces to align with platform interface requirements

Before generating code from a model, inform the code generator about the target environment and programming language by specifying a type of output. To integrate generated code with external code and to comply with code standards and guidelines, configure the interfaces that the generated code uses to interact with other software in the target environment. For C code generation, configure the declarations and definitions of functions, variables, and data types in the generated code by mapping model data elements to code definitions. To generate C++ code that integrates into existing software architectures, configure generated class information, such as class names and namespaces.

To get started with configuring code interfaces for the code generator, see Model Code Interfaces and Choose Code Interface for Code Generation.

Categories