xml Error when renaming a File or Folder in a Project

28 Ansichten (letzte 30 Tage)
Brad
Brad am 13 Feb. 2026 um 0:18
Kommentiert: Brad am 20 Feb. 2026 um 15:30
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

Antworten (1)

Tridib
Tridib am 16 Feb. 2026 um 7:32
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!
  1 Kommentar
Brad
Brad am 20 Feb. 2026 um 15:30
Thank you for taking time to respond. Unfortunately, this did not resolve the issue

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Produkte


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by