Matlab2015a runs very slow while working with scripts saved on network/shared drives

Hi, While writting/editing matlab code saved on network/roaming drive, I experience periodically that the Matlab hangs, i.e. if I’m writing code in the editor, then the cursor freezes for like 4-5 seconds and then comes back. The same happens when I save code.
Any suggestions on how to improve the performance while working on shared/roaming drive? (P.S: there are no issues with the network, all other network applications work as a charm)
Thanks Best regards Raza

Answers (1)

I do not know for sure, but I suspect that you might be running into difficulties related to change notification handles if there is something else which is updating the networked directory at the same time. If a directory is large then rather than using a change notification for each file, MATLAB might ask for a change notification for the entire directory, and then each time it is notified of a change it would have to fetch the directory contents again to determine whether a file had changed.
There are some methods to turn off change detection or to reduce the reliance on networked directories; see the links Jan points to in http://www.mathworks.com/matlabcentral/answers/55085-i-m-getting-a-current-directory-warning

Categories

Tags

No tags entered yet.

Asked:

on 7 Sep 2015

Answered:

on 7 Sep 2015

Community Treasure Hunt

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

Start Hunting!