Check if logging is configured to log data to disk or memory
Check Whether Data Logs to Disk or Memory
You can configure whether data logged in simulation logs to memory or to disk. By default, data is logged to disk and brought into memory on demand. If your machine has more RAM than disk space, you may want to log data to memory instead.
Simulink.sdi.getStorageMode function to check whether
logging is configured to store logged data on disk or in memory.
storageMode = Simulink.sdi.getStorageMode
storageMode = 'disk'
storageMode — Where logged simulation data is stored on your machine
Where logged simulation data is stored on your machine, returned as
Introduced in R2021a