Hello. I use MATLAB to do homework for college. I have been using it for years now and everything's worked great until recently. I never accessed a network drive through MATLAB until a couple weeks ago. After I edited a script on the school network, MATLAB has been extremely slow when I do any folder/file manipulation even on a local drive completely disconnected from the network. Is there some setting/cache I can clear to get it to work quickly again? My hardware is not sluggish in the slightest: i7-6800k, Samsung 950 pro NVMe SSD, 64 GB DDR4, GTX 1080 so that shouldn't be the problem. Thank you for your time.

 Accepted Answer

ES
ES on 9 Mar 2017
Is MATLAB opening slowly? If yes, I would look at
1. Is my MATLAB using a Network License and the License Server is no more available?
2. Is the script(from network) open in your editor/history? MATLAB keeps in memory all files that were open in editor and reopen it next time when you start MATLAB again. If your file from Network is open in the editor, then this might cause a delay.

4 Comments

Thanks for your answer. None of the scripts from the network have been open in the last week, but MATLAB is still slow. I forgot to mention that it is also excruciatingly slow when I try to change publish settings.
I had the same problem today. I solved it as follows (Window 10). I opened a cmd.exe window and typed net use. The output showed a zombie drive (one that was apparently mounted but was in fact inaccessible). I used the net use /delete functionality to unmount this drive. Then everything worked OK.
What if it is slow to open files stored on the local machine?
Same here,
Starting matlab ik ok.
when it is completlty starten, opening a local m-file takes upto 30s! (use to be 1 of 2 sec)

Sign in to comment.

More Answers (0)

Categories

Products

Asked:

on 9 Mar 2017

Commented:

on 15 Jul 2022

Community Treasure Hunt

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

Start Hunting!