MATLAB Compiler Previous page   Next Page

Working with the MCR

Installing the MCR on a Deployment Machine

Before end users can run MATLAB Compiler-generated components on their machines, they need to install the MCR, if it is not already present. You only need to install the MCR one time on a deployment machine.

To prepare the deployment machine on Windows, Windows users simply need to install the MCR by using the MCRInstaller utility (MCRInstaller.exe).

To prepare the deployment machine on UNIX, UNIX users need to

UNIX users must execute the MCRInstaller, which is a ZIP file, and then manually set the path and environment variables as required.

Windows

  1. Locate the MCRInstaller utility in the <matlabroot>\toolbox\compiler\deploy\win32 directory and copy it to a new directory on your machine. Run the utility to start the installation.
  1. The MCRInstaller opens a command window and begins preparation for the installation.

  1. When the MATLAB Component Runtime startup screen appears, click Next to begin the installation.

    MATLAB component run time start up screen. Choose  Cancel or Next to proceed from here.

  2. The setup wizard starts. Click Next to continue.
  3. The Select Installation Folder dialog lets you choose where you want to install the MCR. This dialog also lets you view available and required disk space on your system. You can also choose whether you want to install the MCR for just yourself or others. Select your options, and then click Next to continue.

Select installation folder dialog box

  1. Confirm your selections by clicking Next.
  1. The installation begins. The process takes some time due to the quantity of files that are installed.

  1. When the installation completes, click Close on the Installation Completed dialog to exit.

UNIX

  1. Locate the MCRInstaller.zip file and copy it to a new directory on your machine. This new directory will become the installation directory for your Compiler-generated components. To install the MCR, unzip MCRInstaller.zip.
  2. Update your dynamic library path.

Linux.   

Solaris.   

Linux x86-64.   

HP-UX.   


Previous page  User Interaction with the Compilation Path Installing the MCR and MATLAB on the Same Machine Next page

© 1994-2005 The MathWorks, Inc.