Where does MATLAB save temporary logging data?

50 visualizaciones (últimos 30 días)
Paul Metcalf
Paul Metcalf el 18 de Feb. de 2019
Respondida: Ankit Dutta el 25 de Feb. de 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

Respuestas (1)

Ankit Dutta
Ankit Dutta el 25 de Feb. de 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.

Categorías

Más información sobre File Name Construction en Help Center y File Exchange.

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by