Main Content

Standards, Guidelines, and Block Usage

To develop models and generate code that comply with industry standards, use modeling guidelines

Modeling guidelines provide information about model settings, block usage, and block parameters. When you develop models and generate code for specific applications, use modeling guidelines. If your application has safety-critical development or certification goals, then you can use modeling guidelines to increase the likelihood that the models and generated code comply with industry standards, including IEC 601508, IEC 62304, ISO 26262, IEC 62304, EN 50128, ISO 25119, DO-178C, AUTOSAR, MISRA C™:2012, CERT® C, CWE™, and ISO/IEC TS 17961.

To assess model design and code quality, and verify adherence to modeling guidelines, such as High-Integrity System Modeling guidelines, MathWorks Advisory Board (MAB) style guidelines, and code generation guidelines, use Model Advisor checks. For more information, see Check Your Model Using the Model Advisor.

Topics

Design High-Quality Models for Generating Efficient C and C++ Code

Develop Models and Generate Code According to Industry Standards

Verify Compliance of Models and Generated Code with Industry Coding Standards

Featured Examples