Library Compiler

Package MATLAB functions for deployment as components for integration into other applications

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

expand all

type — type of library generatedC Shared Library | C++ Shared Library | Excel Add-in | Generic COM Component | Java® Package | .NET Assembly | Python® Package

Type of library to generate as a string.

exported functions — functions to packagelist of strings

Functions to package as a list of strings.

packaging options — method for installing the MATLAB Runtime with the compiled libraryMATLAB Runtime downloaded from web (default) | MATLAB Runtime included in package

Method for installing the MATLAB Runtime as a radio button. Including MATLAB Runtime in the package significantly increases the size of the package.

files required for your library to run — files that must be included with librarylist of files

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

files installed for your end user — optional files installed with librarylist of files

Optional files installed with library as a list of files.

Settings

Additional parameters passed to MCC — flags controlling the behavior of the compilerstring

Flags controlling the behavior of the compiler as a string.

testing files — folder where files for testing are storedstring

Folder where files for testing are stored as a string.

end user files — folder where files for building a custom installer are storedstring

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

packaged installers — folder where generated installers are storedstring

Folder where generated installers are stored as a string.

Library Information

library name — name of the installed librarystring

Name of the installed library as a string.

The default value is the name of the first function listed in the Exported Functions field of the app.

version — version of the generated librarystring

Version of the generated library as a string.

splash screen — image displayed on installerimage

Image displayed on installer as an image.

author name — name of the library authorstring

Name of the library author as a string.

e-mail — e-mail address used to contact library supportstring

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

summary — brief description of librarystring

Brief description of library as a string.

description — detailed description of librarystring

Detailed description of library as a string.

Additional Installer Options

default installation folder — folder where artifacts are installedstring

Folder where artifacts are installed as a string.

installation notes — notes about additional requirements for using artifactsstring

Notes about additional requirements for using artifacts as a string.

Programmatic Use

libraryCompiler

Introduced in R2013b

Was this topic helpful?