xml Error when renaming a File or Folder in a Project

20 vues (au cours des 30 derniers jours)
Brad
Brad le 13 Fév 2026 à 0:18
Réponse apportée : Tridib le 16 Fév 2026 à 7:32
When renaming a folder or a file in the project pane for an opened project, I receive the following error:
The exact same error is yielded for any renaming attempt of any file or folder in the project, but only in this specific project

Réponses (1)

Tridib
Tridib il y a environ 3 heures
Dear @Brad,
This issue usually happens when MATLAB’s preferences or path become corrupted. You can fix it by clearing the MATLAB preferences and resetting the path. Follow the steps below based on your operating system.
Windows
1. Go to your Application Data folder:
Windows 2000/XP:
C:\Documents and Settings\<username>\Application Data\
Windows Vista and later:
C:\Users\<username>\AppData\Roaming
Note: This folder is hidden by default.
2. Open the MathWorks\MATLAB folder inside Application Data and delete the folder for your MATLAB release (e.g., R2024b).
Do not delete any folder ending with “_licenses”.
3. Restart MATLAB. A new preferences folder will be created automatically.
Linux / Unix / macOS
1. Open a terminal and run:
cd ~/.matlab
2. Delete the folder for your MATLAB version. For example:
rm -rf R2024b
3. Restart MATLAB, and it will rebuild the preferences.
If the issue continues, reset MATLAB’s path. Run the following commands inside MATLAB:
restoredefaultpath
savepath
rehash toolboxcache
After running these, restart MATLAB so the changes take effect.
Hope this helps!

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by