| MATLAB® Compiler™ | ![]() |
| On this page… |
|---|
Replacement of MCRInstaller.zip and BUILDMCR Functionality Configuring the Development Environment by Installing the MCR |
To deploy your software to another development machine that
does not have MATLAB installed or has a different version of MATLAB installed,
use the GUI to package your software automatically. To do this, open
the project and click the Package button
in the Deployment Tool
toolbar.
When you develop and test software created by MATLAB Compiler, set your path so that the system can support the compiled code at run time. To run the application on your development machine, make sure that you have your path set properly. See Directories Required for Development and Testing.
You cannot use the GUI to configure the development machine.
In past releases, you included MCRInstaller.zip in your packaged application (created by running the buildmcr command). Now, you run the following files, which trigger self-extracting archives, that replace the functionality previously provided by MCRInstaller.zip. These files ship with MATLAB Compiler:
| Platform | File Replacing MCRInstaller.zip | File Location |
|---|---|---|
| Windows 32-bit | MCRInstaller.exe | matlabroot\toolbox\compiler\deploy\win32 |
| Windows 64-bit | MCRInstaller.exe | matlabroot\toolbox\compiler\deploy\win64 |
| Linux (glnx86) | MCRInstaller.bin | matlabroot/toolbox/compiler/deploy/glnx86 |
| Linux (glnxa64) | MCRInstaller.bin | matlabroot/toolbox/compiler/deploy/glnxa64 |
| Mac® | MCRInstaller.dmg | matlabroot/toolbox/compiler/deploy/mac |
| Maci | MCRInstaller.dmg | matlabroot/toolbox/compiler/deploy/maci |
| Solaris (sol64) | MCRInstaller.bin | matlabroot/toolbox/compiler/deploy/sol64 |
Note Since you no longer create MCRInstaller.zip, buildmcr is no longer supported. |
The package must include the following:
Your software (the standalone or shared library).
MCRInstaller See Replacement of MCRInstaller.zip and BUILDMCR Functionality for the location of MCRInstaller on various platforms.
To accurately produce the results of software compiled with MATLAB Compiler on a computer that doesn't have MATLAB installed, you must:
Install the MCR, if it is not already installed on the development machine.
Set path environment variables properly.
Open the package created by you or the Deployment Tool.
Run MCRInstaller once on the machine where you want to develop the application or library. MCRInstaller opens a command window and begins preparation for the installation.
Add the required platform-specific directories to your dynamic library path. See Directories Required for Run-Time Deployment.
![]() | Using the mcc Command | For More Information | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |