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

25 views (last 30 days)
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

Answers (1)

Abhipsa
Abhipsa ongeveer 2 uur ago
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.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!