| MATLAB Compiler | ![]() |
You can distribute a MATLAB Compiler-generated stand-alone to any target machine that has the same operating system as the machine on which the application was compiled. For example, if you want to deploy an application to a Windows machine, you must use the MATLAB Compiler to build the application on a Windows machine. If you want to deploy the same application to a UNIX machine, you must use the MATLAB Compiler on the same UNIX platform and completely rebuild the application. To deploy an application to multiple platforms requires MATLAB and MATLAB Compiler licenses on all the desired platforms.
Windows
Gather and package the following files and distribute them to the deployment machine.
UNIX
These steps describe how to distribute a stand-alone application.
MCRInstaller.zip in the <matlabroot>/toolbox/compiler/deploy/<arch> directory.
Alternatively, to build the MCRInstaller archive as filename in the path directory, you can use
To return the full path to the file zipfile, use
To build the MCRInstaller archive in the current directory, use
| Testing the Application | Running the Application | ![]() |
© 1994-2005 The MathWorks, Inc.