Record logged workspace data in Simulation Data Inspector

Description

Specify whether to send logged states and Simscape™ data to the Simulation Data Inspector after simulation pauses or completes.

Category: Data Import/Export

Settings

Default: Off

On

Record logged States and Simscape data to send to the Simulation Data Inspector when a simulation pauses or completes. This setting adds a recording icon to the Simulation Data Inspector button on the Simulink® Editor toolbar. After a simulation is recorded, the logged simulation data appears in a run in the Inspect pane of the Simulation Data Inspector.

Off

Do not record logged signals during simulation.

Tip

To record States, Dataset is the recommended Format. You can also set Format to Structure with time or Array. If Format is configured as Array, you must also log Time for States to record to the Simulation Data Inspector.

To open the Simulation Data Inspector, on the Simulink Editor toolbar, click the Simulation Data Inspector button arrow and select Simulation Data Inspector.

Command-Line Information

Parameter: InspectSignalLogs
Value: 'on' | 'off'
Default: 'off'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo recommendation
Safety precautionNo recommendation

See Also

Related Topics