Tests require defined signals of interest and tolerances on numeric data. For large models, or models with deep hierarchy, you can use an Observer block to access relevant signals and capture outputs in your test results. You can also select signals in the Test Manager. Test results automatically include signals that have been selected for logging in your model.
|Test Manager||Model and code testing in different execution environments, manage test suites, and analyze and report results|
- Capture Simulation Data in a Test Case
Select signals to log, visualize, and export.
- Compare Model Output to Baseline Data
Test simulation output against a baseline.
- Process Test Results with Custom Scripts
Create scripts that post-process results using toolbox functions and the MATLAB® Unit Test framework.