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 Kommentar

Yang Wang
Yang Wang am 18 Okt. 2017
Bearbeitet: Yang Wang am 18 Okt. 2017
I have the same problem on 2017a 64bit recently. Any idea?

Melden Sie sich an, um zu kommentieren.

Antworten (2)

A Jenkins
A Jenkins am 30 Sep. 2018
Bearbeitet: A Jenkins am 30 Sep. 2018

1 Stimme

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 am 29 Nov. 2015

0 Stimmen

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 Kommentare

Noyeah
Noyeah am 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 am 29 Sep. 2017
Same here in 2017. Anyone searching for the root cause?
Jan
Jan am 18 Okt. 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?

Melden Sie sich an, um zu kommentieren.

Kategorien

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

Produkte

Gefragt:

am 29 Nov. 2015

Bearbeitet:

am 30 Sep. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by