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.
Open the Application Compiler App
MATLAB toolstrip: On the Apps tab, under Application Deployment, click the app icon.
MATLAB command prompt: Enter
applicationCompiler
.
Parameters
main file
— name of the function to package
character vector
Name 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 application
MATLAB Runtime downloaded from web (default) | MATLAB Runtime included in package
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 required for your application to run
— files that must be included with application
list of files
Files 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 installed
list of files
Optional files installed with application as a list of files.
Additional runtime settings
— execution options for the application
check options
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.
Additional parameters passed to MCC
— flags controlling the behavior of the compiler
character vector
Flags controlling the behavior of the compiler as a character vector.
Testing Files
— Folder where files for testing are stored
character vector
Folder where files for testing are stored as a character vector.
End User Files
— Folder where files for building a custom installer are stored
character vector
Folder where files for building a custom installer are stored as a character vector.
Packaged Installers
— Folder where generated installers are stored
character vector
Folder where generated installers are stored as a character vector.
Application Name
— name of the installed application
character vector
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
— version of the generated application
character vector
Version of the generated application as a character vector.
splash screen
— image displayed on installer
image
Image displayed on installer as an image.
Author Name
— name of the application author
character vector
Name of the application author as a character vector.
Email
— Email address used to contact application support
character vector
Email address used to contact application support as a character vector.
Summary
— brief description of application
character vector
Brief description of application as a character vector.
Description
— detailed description of application
character vector
Detailed description of application as a character vector.
Default installation folder
— Folder where application is installed
character vector
Folder where the application is installed as a character vector.
Installation notes
— notes about additional requirements for using application
character vector
Notes about additional requirements for using application as a character vector.
Programmatic Use
Enter applicationCompiler
.
Alternatively, enter deploytool
and click
Application Compiler.
Version History
Introduced in R2013b
Comando MATLAB
Hai fatto clic su un collegamento che corrisponde a questo comando MATLAB:
Esegui il comando inserendolo nella finestra di comando MATLAB. I browser web non supportano i comandi MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)