On Wed, 18 Nov 2009 10:53:20 +0100, Volkmar Glauche
<[log in to unmask]> wrote:
>Dear Kathy,
>
>this is a long-standing problem with handling of symbolic links in
>MATLAB. It is not really a bug, but MATLAB treats symbolic links in a
>different way than most other Unix software. If you cd into /home/user,
>pwd will return '/data/home/user' in MATLAB, but '/home/user' in e.g. a
>Unix shell. I.e., MATLAB will always follow the link. However, it is not
>clever enough to remove e.g. links from the MATLAB path or to replace
>them with the full path to the linked folder internally.
>There is some logic built into cfg_util to determine whether two paths
>are actually the same, but it does not cover all cases. The best advice
>to avoid these warnings is to only use paths without symbolic links in
>the MATLAB path.
Thanks for the information, Volkmar. I was also using a symbolic link, and in
retrospect that's probably why I couldn't reproduce the problem: I probably
was not consistent in using the link or not.
Best,
S
>
>Best,
>
>Volkmar
>
><https://www.jiscmail.ac.uk/cgi-bin/webadmin?
A2=ind0911&L=SPM&Y=volkmar.glauche%40uniklinik-freiburg.de&P=158160>
>
>YmVnaW46dmNhcmQNCmZuOlZvbGttYXIgR2xhdWNoZQ0KbjpHbGF1Y2hlO1ZvbG
ttYXINCm9y
>ZzpVbml2ZXJzaXR5IEZyZWlidXJnIE1lZGljYWwgQ2VudGVyO0ZyZWlidXJnIEJyYWl
uIElt
>YWdpbmcNCmFkcjtxdW90ZWQtcHJpbnRhYmxlOkJyZWlzYWNoZXIgU3RyYT1DMz
05RmUgNjQ7
>O05ldXJvemVudHJ1bTtGcmVpYnVyZzs7NzkxMDY7RA0KZW1haWw7aW50ZXJuZ
XQ6dm9sa21h
>ci5nbGF1Y2hlQHVuaWtsaW5pay1mcmVpYnVyZy5kZQ0KdGVsO3dvcms6KzQ5ID
c2MSAyNzAg
>NTMzMQ0KdGVsO2ZheDorNDkgNzYxIDI3MCA1NDE2DQp4LW1vemlsbGEtaHRtbDp
GQUxTRQ0K
>dXJsOmh0dHA6Ly9mYmkudW5pa2xpbmlrLWZyZWlidXJnLmRlLw0KdmVyc2lvbjoy
LjENCmVu
>ZDp2Y2FyZA0KDQo=
|