Documentation

Simulink Test

Develop, manage, and execute simulation-based tests

Simulink® Test™ provides tools for authoring, managing, and executing systematic, simulation-based tests of models, generated code, and simulated or physical hardware. It includes a Test Sequence block that lets you construct complex test sequences and assessments, and a Test Manager for managing and executing tests. Simulink Test enables functional, baseline, equivalence, and back-to-back testing, including software-in-the-loop (SIL), processor-in-the-loop (PIL), and real-time hardware-in-the-loop (HIL). You can apply pass and fail criteria that include absolute and relative tolerances, limits, logical checks, and temporal conditions. Setup and cleanup scripts help you automate or customize test execution.

You can create nonintrusive test harnesses to test components in the system model or in a separate test model. You can store test cases and their results, creating a repository for reviewing and investigating failures. You can generate reports, archive and review test results, rerun failed tests, and debug the component or system under test.

With Simulink Test and Simulink Requirements™, you can link test cases to requirements captured in Microsoft® Word, IBM® Rational® DOORS®, and other documents.

Support for industry standards is available through IEC Certification Kit (for IEC 61508 and ISO 26262) and DO Qualification Kit (for DO-178).

Getting Started

Learn the basics of Simulink Test

Unit Testing

Test harnesses, testing Simulink components, creating tests with signals logged from simulation

Baseline and Equivalence Testing

Baseline, regression, and back-to-back tests comparing simulation output

Test Sequences and Assessments

Step-based test sequences, temporal logic, model assessments

Real-Time Testing

Test in real-time on target hardware, assess results online or after execution

Systematic Testing and Reporting

Scale up tests for systematic verification, and review and report test results

Verification and Validation

Use Simulink products to test models and code, check for design errors, check against standards, measure coverage, and validate the system

Tools Qualification and Certification

Qualify Simulink Test for DO and IEC Certification

Was this topic helpful?