How to remove _ME folders saved in Users\user​\AppData\L​ocal\Temp folder

5 visualizaciones (últimos 30 días)
yael alon
yael alon el 26 de Abr. de 2021
Respondida: Ronit el 24 de Mayo de 2024
Hi,
I've noticed that when runing a MATLAB compiled code or MATLAB script there are folders created ans saved in Users\user\AppData\Local\Temp folder, mostly with _ME prefix.
The _ME folders keep piling up in the Temp folder after every process, and are not deleted after the process ends.
How can I make sure that all the un-necessery files are deleted once they are not relevant anymore?
thanks!

Respuestas (1)

Ronit
Ronit el 24 de Mayo de 2024
Hello,
The '_ME' folders in the 'Users\user\AppData\Local\Temp' directory are typically generated by MATLAB compiled applications. Ideally, these temporary folders should be cleaned up when the application exits, but in some cases, they might not be properly removed.
To ensure these folders are deleted once they are no longer needed, you can take the following approaches:
  1. Manual Cleanup- You can manually delete these folders by navigating to the 'Users\user\AppData\Local\Temp' directory and removing the folders with the '_ME' prefix. This is straightforward but requires manual intervention.
  2. Automated Cleanup Script- You can write a script to automatically delete these folders. “rmdir” function can be used for this operation. Before implementing any automatic deletion, ensure that your script correctly identifies only the folders you intend to delete to avoid accidental loss of important data.
Hope this helps!

Categorías

Más información sobre Search Path en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by