Simulation Data Inspector
Inspect and compare data and simulation results to validate and iterate model designs
Description
The Simulation Data Inspector visualizes and compares multiple kinds of data.
Using the Simulation Data Inspector, you can inspect and compare time series data at multiple stages of your workflow. This example workflow shows how the Simulation Data Inspector supports all stages of the design cycle:
View Simulation Data in Simulation Data Inspector (Simulink) or Import Data from Workspace or File into Simulation Data Inspector (Simulink)
Run a simulation in a model configured to log data to the Simulation Data Inspector, or import data from the workspace or a file. You can view and verify model input data or inspect logged simulation data while iteratively modifying your model diagram, parameter values, or model configuration. For more information about logging simulation data, see Save Simulation Data (Simulink).
Inspect Simulation Data (Simulink)
Plot signals on multiple subplots, zoom in and out on specified plot axes, and use data cursors to understand and evaluate the data. You can choose from several visualizations, such as time, array, map, sparklines, and XY plots. For more information on presenting data effectively, see Create Plots Using the Simulation Data Inspector (Simulink).
Compare Simulation Data (Simulink)
Compare individual signals or simulation runs and analyze your comparison results with relative, absolute, and time tolerances. The compare tools in the Simulation Data Inspector facilitate iterative design and allow you to highlight signals that do not meet your tolerance requirements. For more information about the comparison operation, see How the Simulation Data Inspector Compares Data (Simulink).
Save and Share Simulation Data Inspector Data and Views (Simulink)
Share your findings with others by saving Simulation Data Inspector data and views.
You can also harness the capabilities of the Simulation Data Inspector from the command line. For more information, see Inspect and Compare Data Programmatically (Simulink).
Open the Simulation Data Inspector
Simulink® Toolstrip: On the Simulation tab, under Review Results, click Data Inspector.
From a model: click the streaming badge on a signal to open the Simulation Data Inspector and plot the signal.
MATLAB® command prompt:
Type
Simulink.sdi.view
(Simulink) to open the Simulation Data Inspector.Use the
Simulink.sdi.plot
(Simulink) to open the Simulation Data Inspector and plot data.
Examples
Related Examples
- View Simulation Data in Simulation Data Inspector (Simulink)
- Inspect Simulation Data (Simulink)
- Compare Simulation Data (Simulink)
- Iterate Model Design Using the Simulation Data Inspector (Simulink)
- Save Simulation Data (Simulink)
Programmatic Use
Version History
Introduced in R2010b
See Also
Functions
Simulink.sdi.clear
(Simulink) |Simulink.sdi.clearPreferences
(Simulink) |Simulink.sdi.snapshot
(Simulink)