Package MATLAB programs for deployment as shared libraries and components
The Library Compiler app packages MATLAB® functions to include MATLAB functionality in applications written in other languages.
MATLAB Toolstrip: On the Apps tab, under Application Deployment, click the app icon.
MATLAB command prompt: Enter libraryCompiler
.
type
— type of library generatedType of library to generate.
exported functions
— functions to packageFunctions to package as a list of character vectors.
packaging options
— method for installing the MATLAB Runtime with the compiled libraryYou can decide whether or not 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 library to run
— files that must be included with libraryFiles that must be included with library as a list of files.
files installed for your end user
— optional files installed with libraryOptional files installed with library as a list of files.
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 are stored as a character vector.
packaged installers
— folder where generated installers are storedFolder where generated installers are stored as a character vector.
library name
— name of the installed libraryName of the installed library as a character vector.
The default value is the name of the first function listed in the Exported Functions field of the app.
version
— version of the generated libraryVersion of the generated library as a character vector.
splash screen
— image displayed on installerImage displayed on installer as an image.
e-mail
— e-mail address used to contact library supportE-mail address used to contact library support as a character vector.
summary
— brief description of libraryBrief description of library as a character vector.
description
— detailed description of libraryDetailed description of library as a character vector.
default installation folder
— folder where artifacts are installedFolder where artifacts are installed as a character vector.
installation notes
— notes about additional requirements for using artifactsNotes about additional requirements for using artifacts as a character vector.