输出
记录仿真数据,捕获和更新基线数据
测试需要定义感兴趣的信号和数值数据的容差。对于大型模型或具有较深的层次结构的模型,您可以使用 Observer 模块来访问相关信号并捕获测试结果中的输出。您还可以在测试管理器中选择信号。测试结果会自动包含模型中已选择要记录的信号。
工具
测试管理器 | 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.