Main Content

Application Compiler

Package MATLAB programs for deployment as standalone applications

Description

The Application Compiler app packages MATLAB® programs into applications that can run outside of MATLAB.

Application Compiler app

Open the Application Compiler App

  • MATLAB toolstrip: On the Apps tab, under Application Deployment, click the app icon.

  • MATLAB command prompt: Enter applicationCompiler.

Parameters

expand all

Name of the function to package as a character vector. The selected function is the entry point for the packaged application.

You can decide whether to include the MATLAB Runtime installer in the generated application by selecting one of the two options in the Packaging Options section. You can also customize the name of the installer executable using the text box.

Runtime downloaded from web — Generates an installer that downloads the MATLAB Runtime and installs it along with the deployed MATLAB application.

Runtime included in package — Generates an installer that includes the MATLAB Runtime installer.

Including the MATLAB Runtime installer in the package significantly increases the size of the package. The first time you select this option, you are prompted to download the MATLAB Runtime installer or obtain a CD if you do not have internet access.

Files that must be included with application as a list of files.

Optional files installed with application as a list of files.

Check the appropriate boxes if you don't want a command window to show up during execution or if you want a log file to be created.

Settings

Flags controlling the behavior of the compiler as a character vector.

Folder where files for testing are stored as a character vector.

Folder where files for building a custom installer are stored as a character vector.

Folder where generated installers are stored as a character vector.

Application information

Name of the installed application as a character vector.

For example, if the name is foo, the installed executable would be foo.exe, the start menu entry would be foo. The folder created for the application would be InstallRoot/foo.

The default value is the name of the first function listed in the Main File(s) field of the app.

Version of the generated application as a character vector.

Image displayed on installer as an image.

Name of the application author as a character vector.

Email address used to contact application support as a character vector.

Brief description of application as a character vector.

Detailed description of application as a character vector.

Additional installer options

Folder where the application is installed as a character vector.

Notes about additional requirements for using application as a character vector.

Programmatic Use

expand all

Enter applicationCompiler.

Alternatively, enter deploytool and click Application Compiler.

Version History

Introduced in R2013b