User`s guide

Working with the MCR
Note MCRInstaller.exe has obsoleted the need for the function buil dmcr or
the creation of
MCRInstaller.zip. See “Replaceme nt of MCRInstalle r.zip and
BUILDMCR Functionality” on page 1-12 for more details.
See “Deploying to End Users” on page 4-9 for more information about the
general steps for installing the MCR as part of the deployment process.
Seealso“UsingMCRInstaller.exeontheCommandLine”onpage9-13for
more information.
Installing the MCR and MATLAB on the Same Machine
You do not need to install the MCR on your machine if your machine has
both MATLAB and MATLAB Compiler installed. The version of MATLAB
should be the same as the version of MATLAB that was used to create the
deployed component.
Modifying the Path
If you install the MCR on a machine that already has MATLAB on it, you
must adjust the library path according to your needs.
Note To run the deployed component, the MCR run-time directory must
appear before the MATLAB run-time directory on the library path.
To run MATLAB, the MATLAB run-time directory must appear before the
MCR run-time directory.
Windows. To run deployed components, <mcr_root>\<ver> \run
time\win32
must appear on your system path before matl abroot\bin\win32.
To run MATLAB,
matlabroot\bin\win32 must appear on your system path
before
<mcr_root>\<ver>\run time\wi n32.
4-21