Documentation Center

  • Trial Software
  • Product Updates

Contents

Inspect Signal Data with Simulation Data Inspector

The Simulation Data Inspector software provides the capability to inspect and compare time series data at several stages of your workflow:

  • Model design: Inspect and compare simulation data after making changes to the model diagram or its configuration.

  • Testing your model: Compare simulation data with different input data

  • Code generation: Compare simulation data and generated code output of your model

You can compare variable-step data, fixed-step solver data from Simulink® and Simulink Coder™, and fixed-step output with external data. How the Simulation Data Inspector Aligns Signals describes how signals are aligned between runs. How the Simulation Data Inspector Compares Time Series Data describes how aligned signal data are compared.

A typical workflow for inspecting and comparing signal data is:

  1. Set up your model to log signal data, as in Export Signal Data Using Signal Logging.

  2. Open the Simulation Data Inspector, as described in Open the Simulation Data Inspector.

  3. Simulate your model and record simulation data or import logged signal data, as described in Record Simulation Data and Import Logged Signal Data.

  4. Configure the Signal Browser table and specify how you want to graph the data, as described in Customize the Simulation Data Inspector Interface.

  5. Inspect signals to quickly determine if the run satisfies requirements, as described in Inspect Signal Data.

  6. If the run is unsatisfactory, delete it. Repeat steps 3 and 4 to collect the desired simulation runs for comparing data.

  7. Optionally assign tolerances to signals and graphically inspect the applied tolerances, as described in Customize the Simulation Data Inspector Interface.

  8. Compare individual signals in the same run, or from different runs, as described in Compare Signal Data.

  9. Compare all of the imported signal data from multiple runs, as described in Compare All Logged Signal Data From Multiple Simulations.

  10. Determine which signals have discrepancies within the specified tolerances. Plot and analyze the discrepancies of any two signals.

  11. Save the imported signal data and comparison results, as described in Export Results in the Simulation Data Inspector.

The Simulation Data Inspector software provides a command-line interface. For more information, see Record and Inspect Signal Data Programmatically

.

Was this topic helpful?