Where does MATLAB save temporary logging data?

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 日

3 投票

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.

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

製品

リリース

R2018b

質問済み:

2019 年 2 月 18 日

回答済み:

2019 年 2 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by