Main Content

Workspace variable name

Name of workspace variable for Simscape simulation data logging

Model Configuration Pane: Simscape

Description

The name of the workspace variable associated with the logged Simscape™ data. There are two methods of Simscape data logging: you can store the data directly in a workspace variable, or you can stream data to a temporary file on disk and have the workspace variable point to that temporary file. For more information on the second method, see Stream Logging Data to Disk. In either case, you interact with the logged simulation data through the simulation log variable.

Subsequent simulations overwrite the data in the simulation log variable. If you want to compare data from two models or two simulation runs, use different names for the respective log variables.

Dependencies

To enable the Workspace variable name parameter, set the Log simulation data parameter to All or Use local settings.

Settings

simlog (default) | character vector | string scalar

Name of the workspace variable. For more information on valid workspace variable names, see Variable Names.

Recommended Settings

ApplicationSetting
DebuggingNo Impact
TraceabilityNo Impact
EfficiencyNo Impact
Safety precautionNo Impact

Programmatic Use

Parameter: SimscapeLogName
Type: character vector | string scalar
Value: any valid value, see Variable Names
Default: 'simlog'

Version History

Introduced in R2010a