Main Content

Code Generation

Guidelines and factors to consider for code generation

Use the code generation guidelines when you develop models and generate code for embedded systems using Model-Based Design with MathWorks® products. The guidelines provide model setting, block usage, and block parameter considerations that impact code generation.

If you have an Embedded Coder® license, you can use the Model Advisor to check for compliance with a guideline. To view the Model Advisor checks, see Embedded Coder Checks (Embedded Coder).