Why am I unable to use CD with a symbolic link which points to a NFS mounted directory in MATLAB 7.0 (R14) on my Linux machine?

8 views (last 30 days)
I have created a symbolic link at the root level which points to a NFS mounted drive /cea/dase as follows: job -> /cea/dase/job
I am unable to CD to directories using the symbolic link as follows:
cd /job/cssi/buresi
gives the error
??? Error using ==> cd
Cannot CD to /job/cssi/buresi (Name is nonexistent or not a directory).
Also although I start matlab in a different directory as shown below :
-bash-2.05b$ pwd
/job/cssi/buresi
-bash-2.05b$ matlab -nosplash -nojvm
MATLAB gives a different result for PWD after startup as shown below :
>> pwd
ans =
/usr/job/cssi/buresi

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This happens because the AUTOMOUNT_MAP environment variable is not set correctly. In order to set this variable correctly, perform the following steps:
To see the value of this variable, start MATLAB with the -n flag as follows :
matlab -n
When starting MATLAB in this manner, you might see the following displayed:
-> r AUTOMOUNT_MAP = /cea/dase -> /usr
In order to workaround this issue, change this variable as follows :
setenv AUTOMOUNT_MAP ''

More Answers (0)

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!