MATLAB: Does MATLAB 7.0.1 (R14SP1) not start after I install Sun Studio on the Solaris system

MATLAB

When I install Sun Studio on my Solaris machine running MATLAB 7.0.1 (R14SP1), MATLAB gives the following error message when started:
Error Messages: ??? Can't load
'/nmr/share/matlab7sp1/bin/sol2/libmwm_interpreter.so': ld.so.1:
/nmr/share/matlab7sp1/bin/sol2/MATLAB: fatal: relocation error: file
/opt/SUNWspro/lib/libsunperf.so.4: symbol __mt_MasterFunction_:
referenced symbol not found
??? Undefined function or variable 'matlabrc'.

Best Answer

This has been fixed in MATLAB 7.1 (R14SP3). To work around this issue in MATLAB 7.0.4 (R14SP2) or earlier versions, prepend the following directory to the LD_LIBRARY_PATH environment variable:
$MATLAB/sys/os/sol2/v8
You can do this by typing the following command at the Solaris command prompt:
setenv LD_LIBRARY_PATH $MATLAB/sys/os/sol2/v8
(where $MATLAB is the root MATLAB directory)