I'm getting a Current Directory Warning

4 views (last 30 days)
Ross
Ross on 28 Nov 2012
I'm not too familiar with MATLAB but I was hoping someone could help me. A user at my location gets a "Current Directory Warning". This is the body of the message:
"MATLAB might not automatically notice changes to files in the new current directory. This is because MATLAB could not get a change notification handle for that directory.
Possible Reasons Inlcude: -Windows has exhusted its supply of change notification handles. -The file server does not support timestamp notification updates."
This is a recent issue. Can anyone tell me what it means and/or how to fix it? The user is on R2009B and has tried a restart of both MatLab and the PC and is still getting this. Any help would be appreciated. I'm shooting in the dark here. Thank you.
  3 Comments
Ross
Ross on 28 Nov 2012
@Walter
As far as I know he is using a network drive to store and share data with other users. Not a direct user-to-user NFS.
Walter Roberson
Walter Roberson on 28 Nov 2012
Which networked filesystem is it?
(Side note: NFS is not user-to-user, it is client machine and server)

Sign in to comment.

Answers (1)

Jan
Jan on 29 Nov 2012
Edited: Jan on 29 Nov 2012
I'm struggling with this problem for many years now in different setups:
  • Windows network with 20 clients accessing a base folder with all user-defined M-files on the server.
  • A virtual machine on my local PC, the base folder for the M-file is on the host, whose drives are mounted in the virtual machine as network drives.
I've found some suggestions, but not a reliable solution:
For a productive work I've created a function, which copies the M-files to a local folder automatically and restrict the write-access, such that the developpers will add changes on the server only. Unfortunately this strategy conflicts with the ability to debug in modern Matlab releases.

Categories

Find more on Search Path in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!