Can I remove MATLAB DMR files from the temp directory?

50 vues (au cours des 30 derniers jours)
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?

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 6 Avr 2025
Modifié(e) : MathWorks Support Team le 5 Avr 2025
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.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Environment Customization dans Help Center et File Exchange

Produits


Version

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by