Can I remove MATLAB DMR files from the temp directory?

51 次查看(过去 30 天)
I have been using MATLAB & Simulink for a few months, and my C drive now contains many MATLAB temporary files with the extension DMR. Can I delete these files?

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2025-4-5
Yes, any DMR files in the temporary directory can be safely deleted while MATLAB is closed.
DMR files, or "Data Model Repository" files, are typically created by the Simulation Data Inspector (SDI) in MATLAB and Simulink. In newer MATLAB versions, these files are automatically deleted when MATLAB closes. However, if MATLAB crashes, DMR files may remain in the temporary directory.
To safely delete the DMR files:
  1. Close all open instances of MATLAB.
  2.  Locate the Temporary Directory:
  • On Windows, open Windows Explorer and type %temp% to access the temp folder (usually C:\Users\username\AppData\Local\Temp).
  • Alternatively, use the MATLAB command tempdir to open the temp folder.
  1. Search for ".DMR" files and delete them.
For more details on DMR files and management, refer to: How to manage Simulink's generation of DMR files in the temp directory.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Environment Customization 的更多信息

产品


版本

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by