This is a problem that occurs during installation of MATLAB 7.0 (R14). If the MATLAB root path given to the installer is different from what the Unix "pwd" command returned for that path at the time of installation, MATLAB concludes that an automount mounted directory is being used, and transforms all paths inside MATLAB to the above-mentioned path output by "pwd".
One resolution to this problem is to re-install MATLAB. Alternatively, you can edit your .matlab7rc.sh file by following the following steps:
1. Open your .matlab7rc.sh file in a text editor. This file resides in $MATLAB/bin (where $MATLAB is your MATLAB root directory returned by typing "matlabroot" at the MATLAB prompt). You can do this in MATLAB by typing
edit([matlabroot '/bin/.matlab7rc.sh'])
2. Look for the section of the file with the "glnx86" heading
3. Replace
AUTOMOUNT_MAP='/home -> /usr'
with:
or:
4. Save this file, then quit and re-start MATLAB.
Best Answer