I'm getting a Current Directory Warning
Show older comments
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
Walter Roberson
on 28 Nov 2012
Is the user using a networked filesystem such as NFS ?
Ross
on 28 Nov 2012
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)
Answers (1)
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:
- http://www.mathworks.com/support/solutions/en/data/1-18IFI/index.html?solution=1-18IFI
- http://www.mathworks.com/support/solutions/en/data/1-15JM8/index.html?solution=1-15JM8
- http://support.microsoft.com/kb/926646
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!