Preview input signal or bus data with the Signal Preview window. You can access this window from:
Preview input signal or bus data with the Signal Preview window.
For From File block, browse to a MAT-file that contains the data you want to preview, then plot the data by clicking .
Simulink.SimulationData.DatasetRef elements, use the
plot method on the dataset.
If you view and inspect signal using the
plot method, the Signal Preview window contains an
Open Simulation Data Inspector button. Click this
button to plot the data using the Simulation Data Inspector.
Explore the plots using the Measure and Zoom & Pan sections on the toolbar.
In the Measure section, use the Data Cursors button to display one or two cursors for the plot. These cursors display the T and Y values of a data point in the plot. To view a data point, click a point on the plot line.
In the Zoom & Pan section, select how you want to zoom and pan the signal plots. Zooming is only for the selected axis.
|Type of Zoom or Pan||Button to Click|
Zoom in along the T and Y axes.
Zoom in along the time axis. After selecting the icon, on the graph, drag the mouse to select an area to enlarge.
Zoom in along the data value axis. After selecting the icon, on the graph, drag the mouse to select an area to enlarge.
Zoom out from the graph.
Fit the plot to the graph. After selecting the icon, click the graph to enlarge the plot to fill the graph.
Pan the graph up, down, left, or right. Select the icon. On the graph, hold the left mouse button and move the mouse to the area of the graph that you want to view.