What You Can Log During Chart Simulation

When you simulate a chart, you can log values for local data, output data, and state self activity into Simulink® objects. After simulation, you can access these objects in the MATLAB® workspace and use them to report and analyze the values.

When you log a state, its value is 1 when active and 0 when inactive.

Logging Stateflow® data and state self activity follows the same general guidelines as for logging signals in Simulink models.

See Also

Was this topic helpful?