Log simulation statistics - Option to specify whether to log simulation statistics as part of simulation
data - MATLAB ([original](https://in.mathworks.com/help/simscape/ref/logsimulationstatistics.html)) ([raw](?raw))
Main Content
Option to specify whether to log simulation statistics as part of simulation data
Model Configuration Pane: Simscape
Description
Select this check box if you want to access and analyze information on zero crossings during simulation. When you create a model by using the sscnew function or any of the Simscape⢠model templates, this check box is selected by default. For models created using other methods, this check box is not selected by default and the zero-crossing data is not logged.
Dependencies
To enable the Log simulation statistics parameter, set theLog simulation data parameter to All
orUse local settings
.
If you set the Log simulation data parameter toNone
, the model does not log simulation statistics regardless of the Log simulation statistics parameter setting.
Settings
on (default) | off
On
Logs simulation statistics.
Off
Does not log simulation statistics.
Recommended Settings
Application | Setting |
---|---|
Debugging | No Impact |
Traceability | No Impact |
Efficiency | No Impact |
Safety precaution | No Impact |
Programmatic Use
Parameter: SimscapeLogSimulationStatistics |
---|
Type: character vector | string scalar |
Value: 'on' | 'off' |
Default: 'on' |
Version History
Introduced in R2012b