Where does MATLAB save temporary logging data?

50 次查看(过去 30 天)
Hi guys,
I had to cancel a PARFOR simulation because of low disk space.
I think MATLAB didn't react too well and I think I lost some disk space.
Where should I check for temporary stored logging files that might not have been deleted?
Thanks!
Paul

回答(1 个)

Ankit Dutta
Ankit Dutta 2019-2-25
The issue is resulting mainly because you are logging a very large amount of data which results in very large temporary files as you have mentioned. Temporary files are usually ‘.dmr’ files created by SDI (Simulation Data Inspector) at 'C:\Users\username\AppData\Local\Temp\'.
1. Please run the following command in MATLAB:
>> tempdir
>> Simulink.sdi.getSource %Return location for storing simulation data
2. Using Windows Explorer, navigate to the tempdir path listed in the result from Step 1. You can find the “.dmr” files here. Delete all files with the type "DMR" to remove prior session data if needed.

类别

Help CenterFile Exchange 中查找有关 File Name Construction 的更多信息

产品


版本

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by