This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Preview Signal Data

Preview input signal or bus data with the Signal Preview window. You can access this window from:

  • From File block

  • Simulink.SimulationData.DatasetRef and Simulink.SimulationData.Dataset plot methods

  1. 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 .

    • For Simulink.SimulationData.Dataset or Simulink.SimulationData.DatasetRef elements, use the plot method on the dataset.

      If you view and inspect signal using the Simulink.SimulationData.Dataset or Simulink.SimulationData.DatasetRef 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.

  2. 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 PanButton 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.

See Also

| | |