Modeling guidelines include recommended model settings, block usage, and block parameters. Use these guidelines when you develop models and generate code for specific applications and standards. If your application has safety-critical development and certification goals, your models and generated code might have to comply with one or more industry standards and guidelines. For more information, see Support for Standards and Guidelines.
Blocks and Products Supported for Code Generation
Identify blocks and products that Simulink® Coder™ and Embedded Coder® support for code generation.
Modeling Semantic Considerations
Data propagation, sample time propagation, latches for subsystem blocks, block execution order, and algebraic loops.
Support for Standards and Guidelines
If your application has mission-critical development and certification goals, your models or subsystems and the code generated for them might need to comply with industry standards and guidelines.
Use the Model Advisor to develop models and generate code that complies with the IEC 61508 standard.
Use the Model Advisor to develop models and generate code that complies with the IEC 62304 standard.
Use the Model Advisor to develop models and generate code that complies with the ISO 26262 standard.
Use the Model Advisor to develop models and generate code that complies with the EN 50128 standard.
Use the Model Advisor to develop models and generate code that complies with the ISO 25119 standard.
Use the Model Advisor to develop models and generate code that complies with the DO-178C standard.
Use Embedded Coder and AUTOSAR Blockset to develop component models and generate code and XML software descriptions that comply with the AUTOSAR standard.
MISRA® provides guidelines for generating code.
Use the Model Advisor to develop models and generated code that conforms to secure coding standards.
MAB provide guidelines for using Simulink, Stateflow®, and Simulink Coder.
High-Integrity System Modeling Guidelines
Modeling guidelines for high-integrity modeling systems.
Modeling Guidelines for Code Generation
Guidelines and factors to consider for code generation.
Modeling Guidelines for Blocks
Code generation modeling guidelines include recommended model settings, block usage, and block parameters.
Modeling Guidelines for MATLAB Functions
When you develop models and generate code for MATLAB® Functions, use the modeling guideline recommendations.
Modeling Guidelines for Subsystems
When you develop models and generate code for subsystems, use the modeling guideline recommendations.
Modeling Guidelines for Model Configuration
When you develop models and generate code, use the modeling guideline configuration recommendations.
Modeling Guidelines for Charts
When you develop models and generate code for charts, use the modeling guideline recommendations.
Embedded Coder Model Advisor Checks for Standards, Guidelines, and Code Efficiency
Use Embedded Coder Model Advisor checks to assess model readiness to generate code.
Simulink Coder Model Advisor Checks for Standards and Code Efficiency
Use Simulink Coder Model Advisor checks to assess model readiness to generate code.
Developing a MISRA C:2012 Compliance Statement
Identifies how to use this documentation when developing your compliance statements for generated code as required per the MISRA C:2012 guidelines.
Evaluate Your Generated Code for MISRA C:2012 Compliance
High-level workflow to evaluate your generated code for compliance with MISRA C:2012 guidelines.
MISRA C:2012 Compliance Information Summary Tables
Defines the method to claim compliance to MISRA C:2012 guidelines. Includes applicable modeling guidelines, Model Advisor support, and Polyspace®MISRA C:2012 Checker support.
Modeling Guidelines for MISRA C:2012 Compliance
Modeling guidelines for those MISRA C:2012 guidelines whose compliance type is "Compliance via guideline".
Deviations Rationale for MISRA C:2012 Compliance
Rationale for MISRA C:2012 directives and rules whose compliance type is "Deviation".