This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Unit Testing

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

Functional testing often requires blocks and instrumentation that check simulation behavior. Add test-specific blocks to test harnesses to avoid altering the main model. You can use test harnesses for isolated workspaces and configuration sets. Add test harnesses to individual subsystems for testing in isolation, or to the entire model for system testing. For more information, see Test Harness and Model Relationship. You can manage and simulate your test harnesses using the Test Manager.