Main Content

Test Execution

Run tests, view and interpret test results, debug tests, and check test coverage

You can run many types of tests for your models, such as comparing test results to a baseline; comparing results between different MATLAB® releases; or running software-in-the loop (SIL), hardware-in-the-loop (HIL), or processor-in-the-loop (PIL) generated code tests. To increase throughput for large test suites, iterations, and Simulink® models, you can use parallel execution. Collecting test coverage helps you assess the extensiveness of your tests and the how completely the requirements are tested. To extend coverage, you can add test cases or generate test cases using Simulink Design Verifier™. To debug tests and identify requirements not associated with a test, you can use the Model Slicer.

Featured Examples