Main Content

Functional, Baseline, Multirelease, and Parallel Tests

Analyze dependencies, compare output to known values and across releases, run in parallel, and use external data input

You can run these types of tests in Simulink® Test™:

  • Functional — Use functional requirements to develop test cases and test suites that analyze whether model components meet those requirements.

  • Baseline — Compare test results to a file of saved output values.

  • Multirelease — Use more than one release to run a test and check that results have not changed between releases.

  • Parallel — Decrease test execution run time, especially for complex Simulink models that take a long time to simulate or for tests with multiple test iterations that take a long time to run. To run tests in parallel on your local machine or cluster, you must have Parallel Computing Toolbox™ installed. To run tests on a remote cluster or in the cloud, you must have MATLAB® Parallel Server™ installed.


Perform Functional Testing and Analyze Test Coverage

Analyze functional dependencies, test model components in isolation, create suites of test cases, test models and code to achieve coverage.

Compare Model Output to Baseline Data

Test simulation output against a baseline.

Run Tests in Multiple Releases of MATLAB

Compare test results across multiple MATLAB releases.

Run Tests Using Parallel Execution

Decrease test time using Parallel Computing Toolbox or MATLAB Parallel Server.

Override Model Parameters in a Test Case

Compare simulation to baseline data using a parameter override and the Test Manager.

Test Execution Order

Order in which models load, and test cases, iterations, and callbacks run.

Featured Examples