Why doesn't Matlab respond to any function when I open it? Not even a single key works.

25 Ansichten (letzte 30 Tage)
Alessandro
Alessandro am 29 Okt. 2025 um 10:19
Beantwortet: Abhipsa am 3 Nov. 2025 um 4:39
when I open matlab, it doesn't let me open the folders of the previous exercises that I had previously saved, I close the window and reopen it but it still doesn't work

Antworten (1)

Abhipsa
Abhipsa am 3 Nov. 2025 um 4:39
Hi @Alessandro, this issue usually happens when MATLAB is not pointing to the correct working directory.
You can try the following steps:
1. Check your current folder path :
In the MATLAB Command Window, run:
>> pwd
This shows your current working directory. You can navigate to the path using "cd" if you remember your saved folder location.
2. Restore the default MATLAB path
Sometimes the MATLAB path gets corrupted.
Run these commands one by one:
>> restoredefaultpath
>> rehash toolboxcache
>> savepath
Then restart MATLAB and check if the folder browser works.
3. Re-enable the “Current Folder” panel
If the panel itself is frozen or blank:
  • Go to Home → Layout → Current Folder and toggle it off/on.
  • Or run:com.mathworks.mlservices.MatlabDesktopServices.getDesktop.closeAllTabs
then restart MATLAB.
4. Try running MATLAB as Administrator (if using in Windows)
On Windows: right-click the MATLAB icon → Run as administrator → open the folders again.

Kategorien

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

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by