Measure design quality, track verification activities, and verify compliance with standards
Ready-to-Use Checks for Developing High-Integrity Software
To improve the quality and security of models and generated code, Simulink Check provides preconfigured checks for compliance with industry standards such as ISO 26262, DO-178C, DO-331, DO-254, IEC 61508, ISO 25119, and EN 50128 as well as MISRA C:2012, MathWorks Advisory Board (MAB) Guidelines, IEC 62304 standards for developing high-integrity software, and secure coding standards such as CERT C, CWE, and ISO/IEC TS 17961.
Identify and Fix Errors as You Edit
Much like spell checking helps you avoid spelling errors in a document, edit-time checking notifies you of violations as you edit the model. You can correct errors as you go to minimize costly rework and additional testing late in the development process.
Configure, Customize, and Automate Model Checks
To ensure your model complies with your organization’s own standards or guidelines, you can tailor modeling checks and configurations using Model Advisor APIs or the Model Advisor Configuration Editor. You can run checks on multiple machines in parallel to accelerate compliance verification.
Check for Compliance with Security Standards
To reduce compliance issues in your generated code for CERTC, CWE, and ISO/IEC TS 17961, you can check your model to identify modeling constructs that may introduce coding standard compliance violations. Edit-time checks can identify issues as changes are made such as the addition of a block not recommended for secure coding standards.
Requirements-Based Testing Metrics
The Model Testing Dashboard provides an overview of the quality and completeness of your requirements-based testing and reflects guidelines in industry-recognized software development standards such as ISO 26262 and DO-178. It forms a digital thread between artifacts in a project from multiple sources such as requirements, models, tests and test results, analyzes their consistency and completeness, and provides detailed metric measurements of status.
The dashboard widgets summarize each metric to quickly evaluate the current results of testing, including adherence to guidelines, completion of testing for requirements, and the percentage of requirements covered by tests.
Review and Manage Requirements-Based Test Artifacts
The Model Testing Dashboard analyzes the artifacts and traceability links within your project and shows the functional requirements, test cases, and test results for each component in your project in the Artifacts panel. To help you identify gaps in implementation or verification, artifacts with no traceability to models are highlighted.
Assess Testing Completeness in Accordance with ISO 26262
Use the Model Testing Dashboard to assess the quality and completeness of your requirements-based testing activities in accordance with ISO 26262-6:2018. The dashboard monitors traceability between requirements, tests, and test results. It analyzes the implementation and verification artifacts in your project and provides completeness and quality metrics for the requirements-based test cases and test results in accordance with ISO 26262-6:2018. The dashboard organizes requirements, test cases, and test results under the models that they trace to, providing you with insight into the testing completeness and structural coverage for each unit.
Collect Model Metrics to Measure Quality
Simulink Check collects model metrics that you can use to assess your model’s architecture, complexity, and readability in compliance with ISO 26262, DO-178C, DO-331, DO-254, IEC 61508, IEC 62304, EN 50128, and other standards.
View Consolidated Metrics Using a Dashboard
The Metrics Dashboard integrates metrics such as model size, lines of code, status of guideline compliance, reuse, and complexity in a single view, providing you with insight into the quality of your project. Use the dashboard to review the quality of your design and compliance with standards during your model review process.
Model Slicer uses static dependency analysis to highlight interdependencies of blocks, signals, and model components and dynamic dependency analysis based on active behavior during simulation to help you better understand functional dependencies in a large or complex model.
Debug Design Errors or Test Failures
When a test fails in Simulink Test™ or a property violation is identified in Simulink Design Verifier™, initiate debugging with Model Slicer to isolate the cause of the error and resolve the problem faster.
Create Simplified Standalone Models
Model Slicer can isolate a portion of the model based on a user-specified starting point, logged signals, or simulation time window and save it as a smaller model that preserves simulation behavior to help debugging and improve performance.
Activity-Based Time Slicing with Stateflow
Model highlighting can be constrained to simulation time intervals when only selected states and transitions in Stateflow® are simultaneously active during a simulation to isolate the behavior of interest.
Identify and Refactor Modeling Clones
The Identify Modeling Clones tool analyzes a model to locate duplicate modeling patterns. These duplicated clones can then be automatically refactored with a reusable library to improve maintainability and reduce design complexity.
Transform Models to Improve Component Reusability and Model Readability
The Model Transformer tool identifies modeling patterns that can be transformed into Variant Source or Variant Subsystem blocks and refactors the model to improve model componentization and reusability. It can identify data store blocks that can be eliminated to improve readability.