Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Basic Approach to Logging States and Data

The workflow for logging chart local data, output data, and state self activity is similar to the workflow for logging signals in a model:

  1. Enable signal logging for the chart and choose a logging format.

    See Enable Signal Logging.

  2. Configure states and data for signal logging, which includes controlling how much output the simulation generates.

    See Configure States and Data for Logging.

  3. Simulate the chart.

  4. Access the logged data.

    See Access Signal Logging Data.

You can also use active state output to view or log state activity data in Simulink®. For more information, see About Active State Data.

Was this topic helpful?