User`s guide

Distributing Stand-Alone Applications
4-27
Distributing Stand-Alone Applications
To make packaging an application easier, all the necessary MATLAB run-time
libraries are prepackaged into a single, self-extracting archive file. For more
information about how you can use this archive, see Packaging the MATLAB
Run-Time Libraries. For information about how customers who receive your
application can use this archive, see Installing Your Application on page 4-27.
Packaging the MATLAB Run-Time Libraries
All the MATLAB run-time libraries required by stand-alone applications are
prepackaged into a single, self-extracting archive file, called the MATLAB
Compiler Run-Time Library Installer. Instead of including all the run-time
libraries individually in your stand-alone application distribution package, you
can simply include this archive file.
The following table lists the name of the archive file for both UNIX and PC
systems. In the table
<MATLAB> represents your MATLAB installation directory
and
<ARCH> represents your UNIX platform.
Installing Your Application
To install your application, your customers must
Run the MATLAB Compiler Run-Time Library Installer. This program
extracts the libraries from the archive and installs them in subdirectories of
a directory specified by the user.
Add the
bin/<ARCH> subdirectory to their path. This is the only MATLAB
Compiler Run-Time Library subdirectory that needs to be added to the path.
Platform MATLAB Compiler Run-Time Library Installer
UNIX systems <MATLAB>/extern/lib/<ARCH>/mglinstaller
PCs
<MATLAB>\extern\lib\win32\mglinstaller.exe