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.