Skip to Main Content Skip to Search
Product Documentation

Exporting Signal Data Using Signal Logging

Signal Logging

Use signal logging to capture signal data from a simulation. To enable signal logging, set the signal logging property for individual signals and enable signal logging for a model. For details, see Configuring a Signal for Signal Logging and Enabling Signal Logging for a Model.

For a summary of other approaches to capture signal data, see Exporting Simulation Data.

Signal Logging Workflow

Signal logging involves this general workflow:

  1. Configure individual signals for signal logging, including controlling how much output the simulation generates. See Configuring a Signal for Signal Logging.

  2. (Optional) Review the signal logging configuration for a model. See Viewing the Signal Logging Configuration.

  3. Enable signal logging globally for a model. See Enabling Signal Logging for a Model.

  4. Specify the format for the logged signal data. See Specifying the Signal Logging Data Format.

  5. (Optional) Specify a name for the signal logging data. See Specifying a Logging Name.

  6. (Optional) Specify which samples to export for models with variable-step solvers. See Limiting the Data Logged for a Signal.

  7. (Optional) Configure the model to display signal logging data in the Simulation Data Inspector. See Viewing Logged Signal Data with the Simulation Data Inspector.

  8. (Optional) Override the signal logging property settings in the model or referenced models. See Overriding Signal Logging Settings.

  9. Simulate the model.

  10. Access the signal logging data. See Accessing Signal Logging Data.

Signal Logging Limitations

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS