| MATLAB® Compiler Release Notes | ![]() |
MATLAB Compiler 4.1
MATLAB® Compiler 4.1 adds initial beta-level support for Solaris systems and contains important bug fixes. MATLAB Compiler 4.1 is part of Release 14SP1, and requires MATLAB 7.0.1.
Solaris Support
You can use MATLAB Compiler 4.1 on supported Solaris systems to create redistributable, stand-alone applications or software components. These applications or components can then be deployed to other Solaris systems.
We encourage you to use this beta version for Solaris and we appreciate your feedback. We expect to release a fully-qualified version of the MATLAB Compiler for Solaris as soon as possible.
buildmcr on Solaris
The buildmcr command that ships with MATLAB Compiler 4.1 may fail on some Solaris systems. You must upgrade your buildmcr command if you see the error message
We recommend that all Solaris users upgrade their buildmcr command. For instructions on how to upgrade, see our Support site and search for "Solaris BUILDMCR". This upgrade is not necessary for Windows or Linux users.
Modifying 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 path.
| Note For readability, the following command appears on separate lines, but you must enter it all on one line. |
setenv LD_LIBRARY_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 XAPPLRESDIR <matlabroot>/X11/app-defaults
Target Machine. To run a MATLAB Compiler-generated application on a target machine (a machine without MATLAB that has the MCR installed), add the following directories to your dynamic library path.
| Note For readability, the following command appears on separate lines, but you must enter it all on one line. |
setenv LD_LIBRARY_PATH /usr/lib/lwp: <mcr_root>/runtime/sol2: <mcr_root>/sys/os/sol2: <mcr_root>/sys/java/jre/sol2/jre1.4.2/lib/sparc/native_threads: <mcr_root>/sys/java/jre/sol2/jre1.4.2/lib/sparc/client: <mcr_root>/sys/java/jre/sol2/jre1.4.2/lib/sparc: <mcr_root>/sys/opengl/lib/sol2:${LD_LIBRARY_PATH} setenv XAPPLRESDIR <mcr_root>/X11/app-defaults
<mcr_root> is the directory where the MCR is installed.
Redistribution of Sun's sunperf Library
On Solaris, the only compiler that the MATLAB Compiler supports is the Sun compiler. If you are a Solaris user who is licensed to use Sun's compiler, you can redistribute the Sun sunperf and dependent libraries, including BLAS, to your end users. For more information, consult your Sun license agreement.
| Upgrading from an Earlier Release | Installing a New Version of the MCR on Windows | ![]() |
© 1994-2005 The MathWorks, Inc.