Very slow when change current directory.

Recently Matlab became much slower than before when changing the current directory. Whenever the current directory is changed to a new one, Matlab stops responding for a while. It doesn't seem to be related to the location of the new directory (either local or network) or the number of files in the new directory. Same experience on both 2014b and 2015a RC1. A complete re-installation to 2015a RC1 did not resolve the problem. Thanks.

1 commentaire

Yang Wang
Yang Wang le 18 Oct 2017
Modifié(e) : Yang Wang le 18 Oct 2017
I have the same problem on 2017a 64bit recently. Any idea?

Connectez-vous pour commenter.

Réponses (2)

A Jenkins
A Jenkins le 30 Sep 2018
Modifié(e) : A Jenkins le 30 Sep 2018

1 vote

I had this problem on 2017a. It took minutes to change directories. Then I closed some of the open files in my editor and it got much better. There were a mix of .c and .h and .m across several folders and network files so it could have been any of those that was tripping it up.
Jan
Jan le 29 Nov 2015

0 votes

The important detail is hidden in the term "recently". What has happend since it worked fluently? Are you talking about the last OS updates or did you install a new hard disk in between?
How long is "for a while"? 0.1 or 20 seconds? Does your virus scanner slow down the processing? Does your taskmanager reveal the active process during the delay? Does the problem occur in the shell also? How do you change the current directory? With cd or in tzhe directory browser?

3 commentaires

Noyeah
Noyeah le 29 Nov 2015
Jan, Thanks for the reply! I don't remember exactly when this started to happen. We did have tons of OS (win7) and anti-virus software updates in the company, however my colleges don't have the same issue that I am having.
It now takes at least 20s to change the current directory. Nothing strange pops up in task manager. It is the same with both "cd" command and the directory browser.
Bardo
Bardo le 29 Sep 2017
Same here in 2017. Anyone searching for the root cause?
Jan
Jan le 18 Oct 2017
@Bardo: Unfortunately NoYeah could neither find any specific reason. I ask you again: Did it run fluently before? What did you change until it worked? Without knowing any detail, how could a solution be found?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Produits

Question posée :

le 29 Nov 2015

Modifié(e) :

le 30 Sep 2018

Community Treasure Hunt

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

Start Hunting!

Translated by