
Version 4.1 (R14SP1) MATLAB Compiler
Modifying the Dynamic Library Path on Solaris
Development Machine. To run a MATLAB Compiler generated application
on your development machine, add the following directories to your dynamic
library p ath.
Note For readability, the following command appears on separate lines, but
youmustenteritallononeline.
setenv LD_ LIBR ARY_PATH
/usr/lib/lwp:
matlabroot/bin/sol2:
matlabroot/sys/os/sol2:
matlabroot/sys/java/jre/sol2/jre1.4.2/lib/sparc/native _threads:
matlabroot/sys/java/jre/sol2/jre1.4.2/lib/sparc/client :
matlabroot/sys/java/jre/sol2/jre1.4.2/lib/sparc:
matlabroot/sys/opengl/lib/sol2:${LD_LIBRARY_PATH}
setenv XAPP LRES DIR <matlabroot >/X11/app-defaults
Target Machine. To run a MATLAB Compiler generated application on a
target machine (a machine without M ATLAB that h as the MCR installed),
add the following directories to your dynamic library path.
Note For readability, the following command appears on separate lines, but
youmustenteritallononeline.
setenv LD_ LIBR ARY_PATH
/usr/lib/lwp:
mcr_root/runtime/sol2:
mcr_root/sys/os/sol2:
mcr_root/sys/java/jre/sol2/jre1.4.2/lib/sparc/nativ e_threads:
mcr_root/sys/java/jre/sol2/jre1.4.2/lib/sparc/clien t:
mcr_root/sys/java/jre/sol2/jre1.4.2/lib/sparc:
mcr_root/sys/opengl/lib/sol2:${LD_LIBRARY_PATH}
setenv XAPP LRES DIR <mcr_root>/ X11/app-defaults
21
Komentáře k této Příručce