Where does MATLAB save temporary logging data?

36 Ansichten (letzte 30 Tage)
Paul Metcalf
Paul Metcalf am 18 Feb. 2019
Beantwortet: Ankit Dutta am 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

Antworten (1)

Ankit Dutta
Ankit Dutta am 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.

Kategorien

Mehr zu Data Logging finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by