Contents

Import Signal Data

To import data into the Simulation Data Inspector, you must have timeseries or logged signal data in the base workspace or in a MAT-file. For information on how to log signal data to the base workspace, see Export Signal Data Using Signal Logging.

Import Signal Data from the Base Workspace

You can import data from the base workspace into the Simulation Data Inspector.

  1. Click Import on the Visualize tab to open the Import dialog.

  2. Select Base workspace. Data from the base workspace populates the Data to import table.

  3. Select the corresponding signal check box in the Data to import table to import a signal. Clear the signal check box for signals that you do not want to import.

  4. For Import to, select New run or Existing run. If you select Existing run, select a run from the list.

  5. Click Import.

    The imported signals appear in the Runs pane.

Import Signal Data from a MAT-File

You can select a subset of signals from a MAT-file to import into the Simulation Data Inspector.

  1. Click Import on the Visualize tab to open the Import dialog.

  2. For Import from, select MAT-file.

  3. Click the Browse button and select the MAT-file you want to import from.

    The data from the MAT-file populates the Data to import table.

  4. For Import to, select New run or Existing run. If you select Existing run, select a run from the list.

  5. Select the corresponding signal check box in the Data to import table to import a signal. Clear the signal check box for signals that you do not want to import.

  6. Click Import.

    The imported signals appear in the Runs pane.

Related Examples

Was this topic helpful?