Main Content
Analyze Simulation Results
Use Simulation Data Inspector to explore data with custom visualizations,
replay simulation results, and compare simulation data
You can use the Simulation Data Inspector to visualize, analyze, and compare logged simulation data or data imported from the workspace or a file. With the Simulation Data Inspector, you can:
Plot data using a variety of visualization options.
Analyze data with cursors or by replaying the simulation results.
Compare individual signals or simulation runs.
The Simulation Data Inspector supports both interactive and programmatic workflows. Use the functions and objects to programmatically manage signals and runs, compare data, and customize your visualizations. To learn more, see Simulation Data Inspector.
Tools
Functions
Objects
Topics
Visualize Simulation Results
- Decide How to Visualize Simulation Data
Choose the right visualization technique for each modeling and simulation task. - View Simulation Data in Simulation Data Inspector
View logged simulation data alongside imported data and easily build complex visualizations using the Simulation Data Inspector. - 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 into the Simulation Data Inspector
- 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™. - Import Data from a CSV File into the Simulation Data Inspector
Format data in a CSV file and import the file into the Simulation Data Inspector. - 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.
Analyze Simulation Results
- 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. - Inspect and Compare Data Programmatically
Programmatically plot and compare simulation data in the Simulation Data Inspector. - 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 Results
- Compare Simulation Data
Compare signals or simulation runs. - How the Simulation Data Inspector Compares Data
The Simulation Data Inspector applies specified tolerances and signal alignment techniques when comparing runs.