To check that your model meets standards and is ready to generate code, you can use the Model Advisor checks available with Simulink® Coder™.
On the Modeling tab, click Model Advisor.
In the Model Advisor window, expand the By Task folder. The folder contains Model Advisor checks that you can run to help accomplish the task.
For more information about the Model Advisor, see Run Model Advisor Checks (Simulink).
The table summarizes the Simulink Coder Model Advisor checks that are available in the By Task folders.
By Task folder | Model Advisor checks |
---|---|
Code Generation Efficiency | Identify blocks using one-based indexing (Simulink Coder) |
Modeling Standards for DO-178C/DO-331 | Check solver for code generation (Simulink Coder) Check for blocks that have constraints on tunable parameters (Simulink Coder) Check sample times and tasking mode (Simulink Coder) |
Model Referencing | Check for model reference configuration mismatch (Simulink Coder) Check for code generation identifier formats used for model reference (Simulink Coder) |