User`s guide

4 Deployment Process
Working with the MCR
In this section...
“Understanding the MCR” on page 4-20
“Installing the MCR and MATLAB on the Same Machine” on page 4-21
“Installing Multiple MCRs on the Same Machine” on page 4-22
Understanding the MCR
MATLAB Compiler was designed to work w ith a large range of applications
that use the MATLAB programming language. Because of this, run-time
libraries are large.
If you do not have M ATLAB i nstalled on the target machine and you want
to run components created by MATLAB Compiler, you still need to install
the MCR on the target machine, w hether you are a developer or en d user.
YouhavetoinstalltheMCRonlyonce. Thereisnowaytodistributeyour
applicatio n wit h any subset of the files that are insta ll ed by the MC R In stal ler.
You can install the M CR by running
MCRInstaller.exe.
On platforms other than Windows, you must also set paths and environment
variables. See “Directories Required for Run-Time Deployment” on page 9-5
for more information about these settings.
Note The MCR is version-specific, so make sure that you tell end users of
your components which version of the MCR is required.
If you are deploying .NET component applications to programmers or end
users, make sure to tell them to install .NET Framework before installing the
MCR. The
MCRinstaller.exe must detect the presence of .NET framework on
a system for it to install MCR .NET support. Alternatively, you can package
.NET Fram ew ork with the component installer that you provide to them
as part of your deployment package.
4-20