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.
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 | |
Modeling Standards for DO-178C/DO-331 | Check solver for code generation Check for blocks that have constraints on tunable parameters |
Model Referencing | Check for model reference configuration mismatch Check for code generation identifier formats used for model reference |