Package MATLAB programs for deployment as standalone applications
The Application Compiler app packages MATLAB® programs into applications that can run outside of MATLAB.
MATLAB toolstrip: On the Apps tab, under Application Deployment, click the app icon.
MATLAB command prompt: Enter
applicationCompiler
.
main file
— name of the function to packageName of the function to package as a character vector. The selected function is the entry point for the packaged application.
packaging options
— method for installing the MATLAB Runtime with the packaged applicationYou can decide whether to include the MATLAB Runtime fallback for MATLAB Runtime installer in the generated application by selecting one of the two options in the Packaging Options section. Including the MATLAB Runtime installer in the package significantly increases the size of the package.
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.
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 required for your application to run
— files that must be included with applicationFiles that must be included with application as a list of files.
Files installed for your end user
— files installed on the end user's machine when the application is installedOptional files installed with application as a list of files.
Additional runtime settings
— execution options for the applicationCheck 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.
Additional parameters passed to MCC
— flags controlling the behavior of the compilerFlags controlling the behavior of the compiler as a character vector.
Testing Files
— Folder where files for testing are storedFolder where files for testing are stored as a character vector.
End User Files
— Folder where files for building a custom installer are storedFolder where files for building a custom installer are stored as a character vector.
Packaged Installers
— Folder where generated installers are storedFolder where generated installers are stored as a character vector.
Application Name
— name of the installed applicationName 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
— version of the generated applicationVersion of the generated application as a character vector.
splash screen
— image displayed on installerImage displayed on installer as an image.
Email
— Email address used to contact application supportEmail address used to contact application support as a character vector.
Summary
— brief description of applicationBrief description of application as a character vector.
Description
— detailed description of applicationDetailed description of application as a character vector.
Default installation folder
— Folder where application is installedFolder where the application is installed as a character vector.
Installation notes
— notes about additional requirements for using applicationNotes about additional requirements for using application as a character vector.