分析仿真结果
使用游标和自定义可视化检查数据,重播仿真结果,比较仿真数据
您可以使用仿真数据检查器来检查和比较多个仿真的数据。例如,您可以检查两个信号之间的差异是否在一定的设计误差界限内。要了解详细信息,请参阅仿真数据检查器。
工具
函数
对象
主题
可视化仿真结果
- 决定如何可视化仿真数据
为每个建模和仿真任务选择正确的可视化方法。 - 在仿真数据检查器中查看仿真数据
通过使用仿真数据检查器,同时查看记录的仿真数据和导入的数据,并轻松构建复杂的可视化。 - Create Plots Using the Simulation Data Inspector
Create plots to analyze and present your data. - View Many Signals Together Using Sparklines
View many signals together on compact sparklines visualization. - View and Replay Map Data
View route of longitude and latitude data on map visualization. - Visualize Simulation Data on XY Plot
View and inspect simulation data using the XY visualization and replay controls in the Simulation Data Inspector. - View Multidimensional Signals Using the Array Plot
View and analyze multidimensional signal data using an array plot in the Simulation Data Inspector. - Configure the Simulation Data Inspector
Modify preferences in the Simulation Data Inspector to match your requirements.
将数据导入仿真数据检查器
- Import Data from Workspace or File into Simulation Data Inspector
You can import data into the Simulation Data inspector from the base workspace or from a file. - Microsoft Excel Import, Export, and Logging Format
Understand the Microsoft® Excel® file format used by the Simulation Data Inspector, the Record block, and Simulink® Test™. - 将 CSV 文件中的数据导入仿真数据检查器
格式化 CSV 文件中的数据并将该文件导入仿真数据检查器。 - Import Data Using Custom File Reader
Write a custom file reader to import data from a file saved using a proprietary data or file format. - Import Workspace Variables Using a Custom Data Reader
Write a custom reader to import workspace data in a proprietary format.
分析仿真结果
- Inspect Simulation Data
View and inspect data from simulations or from imported data. - Analyze Data from Multiple Simulations
Use the Simulation Data Inspector to view results from multiple simulations side by side. - Replay Data in the Simulation Data Inspector
Replay data in the Simulation Data Inspector to inspect and analyze simulation behavior. - Analyze Multidimensional Signal Data
View and analyze multidimensional data in the Simulation Data Inspector and Record block as channels or a single signal with nonscalar sample values and choose whether to remove buffering from frame-based data. - Iterate Model Design Using the Simulation Data Inspector
View and manage data in the Simulation Data Inspector throughout an iterative design workflow. - Modify Signal Properties in the Simulation Data Inspector
Modify signal properties to analyze data and create new signals. - 以编程方式检查和比较数据
使用仿真数据检查器 API 绘制和比较仿真数据。 - Synchronize Cursors in the Simulation Data Inspector with an App Designer App
Use the Simulation Data Inspector programmatic interface to synchronize data cursors in an App Designer app with cursors in the Simulation Data Inspector.
比较仿真结果
- Compare Simulation Data
Compare signals or simulation runs. - 仿真数据检查器如何比较数据
在比较各运行时,仿真数据检查器应用指定的容差和信号对齐方法。