MATLAB Answers

Where does MATLAB save temporary logging data?

51 views (last 30 days)
Paul Metcalf
Paul Metcalf on 18 Feb 2019
Answered: Ankit Dutta on 25 Feb 2019
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

Answers (1)

Ankit Dutta
Ankit Dutta on 25 Feb 2019
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.

Community Treasure Hunt

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

Start Hunting!