Main Content
Simulink.sdi.setStorageMode
Description
Simulink.sdi.setStorageMode(
configures logging to log data to disk or to memory according to
storageMode
)storageMode
. By default, data logged to the workspace and the
Simulation Data Inspector is logged to disk.
Note
When you change the logging storage mode, data from prior simulations is deleted. You cannot change the logging storage mode while a simulation is running.
Examples
Input Arguments
Version History
Introduced in R2021a