Code Interface Configuration
To integrate generated code with external code, or comply with code standards and guidelines, configure the interface of generated code. The output and deployment type of a model specifies the role of the model within a larger system and configures the generated code to run on a specific platform.
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 architecture, configure generated class information such as class names and namespaces.
- Code Generation Output
Select output type and deployment type that the code generator uses to produce code for a loaded model
- C Data and Function Interfaces
Map model data elements and functions to model-independent code definitions
- C++ Data and Function Interfaces
Control the C++ class generated from a Simulink model
- C Service Interfaces
Map model elements and functions to service interfaces defined in an Embedded Coder Dictionary