Main Content

Code Generation

Configure code interfaces, generate and verify code results, and generate reports

After iterating on a component model design, configure how the code generator produces code for components. You can configure the code generator to produce code that interfaces with external code and between subcomponents. Code interface configuration involves selecting an output type, configuring deployment types for elements of the model hierarchy, and mapping model elements to code definitions (storage classes and function customization templates).

When your configuration is complete, use the Model Advisor to check whether a component model is ready for code generation. From the component model, generate source code, object code or a program executable, or a shared library or utility code. Optionally, generate an HTML report that you can use to review, analyze, publish, or archive code generation results.

To get started, see Embedded Coder.

Categories