Main Content

Record logged workspace data in Simulation Data Inspector

Option to send data logged in format other than Dataset to Data Inspector at end of simulation

Model Configuration Pane: Data Import/Export

Description

Specify whether to send data logged in a format other than Dataset and data logged using the To File block to the Simulation Data Inspector after simulation pauses or stops. The Record logged workspace data in Simulation Data Inspector parameter is supported only when you run a simulation interactively by clicking Run.

This parameter does not affect data logged using the Dataset format or using other logging blocks, such as the Record block, Scope block, and the To Workspace block. Data logged using the Dataset format and other logging blocks streams to the Simulation Data Inspector during simulation.

Settings

off (default) | on
off

Data logged using a format other than Dataset or using the To File block is not sent to the Simulation Data Inspector.

on

These kinds of simulation data are sent to the Simulation Data Inspector when a simulation is paused or stopped:

  • States and output data logged in Array or Structure with time formats

  • Data logged using the To File block

When you log data using the Array format, you must also log Time for the states and output data to log to the Simulation Data Inspector.

Tips

To open the Simulation Data Inspector, on the Simulation tab, click Data Inspector.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo recommendation
Safety precautionNo recommendation

Programmatic Use

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

Version History

Introduced before R2006a