Documentation

Library Compiler

Package MATLAB programs for deployment as shared libraries and components

Description

The Library Compiler app packages MATLAB® functions to include MATLAB functionality in applications written in other languages.

Open the Library Compiler App

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

  • MATLAB command prompt: Enter libraryCompiler.

Parameters

Type of library to generate.

Functions to package as a list of character vectors.

You 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 that must be included with library as a list of files.

Optional files installed with library as a list of files.

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 are stored as a character vector.

Folder where generated installers are stored as a character vector.

Library Information

Name 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 of the generated library as a character vector.

Image displayed on installer as an image.

Name of the library author as a character vector.

E-mail address used to contact library support as a character vector.

Brief description of library as a character vector.

Detailed description of library as a character vector.

Additional Installer Options

Folder where artifacts are installed as a character vector.

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

Programmatic Use