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 or Import Data from Workspace or File into Simulation Data Inspector
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.
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.
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.
Save and Share Simulation Data Inspector Data and Views
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.
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
to open the Simulation Data Inspector.Use the
Simulink.sdi.plot
to open the Simulation Data Inspector and plot data.
Examples
Related Examples
Programmatic Use
Version History
Introduced in R2010b