When you develop models and generate code for subsystems, use the modeling guideline recommendations.
Code Generation Modeling Guidelines
High-Integrity Systems Modeling Guidelines
MathWorks Advisory Board (MAB) Control Algorithm Guidelines
For more information, see Model Advisor Checks for High-Integrity Modeling Guidelines and Model Advisor Checks for MAB and JMAAB Compliance (Simulink Check).