Data stores
Description
Globally enable or disable logging of Data Store Memory block variables for this model.
Category: Data Import/Export
Settings
Default: On, dsmsout
On
Enables data store logging to the MATLAB® workspace and the Simulation Data Inspector during simulation.
Specify the name of the
Simulink.SimulationData.Dataset
object for the logged data store data.Off
Disables data store logging to the MATLAB workspace and the Simulation Data Inspector during simulation.
Tips
Simulink® saves the data in a MATLAB workspace variable having the specified name.
The saved data has the
Simulink.SimulationData.Dataset
format.See Supported Data Types, Dimensions, and Complexity for Logging Data Stores, Data Store Logging Limitations, and Data Store Logging Limitations for more information.
Dependencies
Select the Data stores check box before entering the data store logging variable.
Programmatic Use
Parameter:
DSMLogging |
Value:
'on' | 'off' |
Default:
'on' |
Parameter:
DSMLoggingName |
Type: character vector |
Value: any valid value |
Default:
'dsmOut' |
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No recommendation |
Safety precaution | No recommendation |
See Also
Simulink.SimulationData.DataStoreMemory
| Data Store Memory