User`s guide

4 Stand-Alone Applications
4-28
Note If customers already have the MATLAB math and graphics run-time
libraries installed on their system, they do not need to reinstall them. They
only need to ensure that the library search path is configured correctly.
On UNIX Systems
On UNIX systems, your customers run the MATLAB Compiler Run-Time
Library Installer by executing the
mglinstaller command at the system
prompt. Your customers can specify the name of the directory into which they
want to install the libraries. By default, the installer puts the files in the
current directory.
After the installer unpacks and uncompresses the libraries, your customers
must add the name of the
bin/<ARCH> subdirectory to the LD_LIBRARY_PATH
environment variable. (The equivalent variable on HP-UX systems is the
SHLIB_PATH and LIBPATH on IBM AIX systems.)
For example, if customers working on a Linux system specify the installation
directory
mgl_runtime_dir, then they must add
mgl_runtime_dir/bin/glnx86 to the LD_LIBRARY_PATH environment variable.
On PCs
On PCs, your customers run the MATLAB Compiler Run-Time Library
Installer by double-clicking on the
mglinstaller.exe file. Your customers can
specify the name of the directory into which they want to install the libraries.
By default, the installer puts the files in the current directory.
After the installer unpacks and uncompresses the libraries, your customers
must add the
bin\win32 subdirectory to the system path variable (PATH).
For example, if your customers specify the installation directory
mgl_runtime_dir, then they must add mgl_runtime_dir\bin\win32 to PATH.
Problem Starting Stand-Alone Application
Your application may compile successfully but fail when you or one of your
customers tries to start it. If you run the application from a DOS command
window, you or one of your customers may see an error message such as: