Distribute Files to Application Developers
After you create a component using MATLAB® Compiler SDK™, distribute files and integrate them in an application in the target language.
The deploytool
apps generate an installer
that packages all of the binary artifacts required for distributing a compiled component.
The installer is located in the for_redistribution
folder of the compiler
project.
You can also generate an installer using the compiler.package.installer
function.
If you do not create an installer, distribute the set of files required to integrate the component according to the component type. In order to run the application, the target machine must have access to MATLAB Runtime that matches the version of MATLAB used to compile the component, at the same update level or newer.
Distribute COM Components
Distribute the following files to integrate a component in an application:
Function signatures of the deployed MATLAB functions
packageName
.dll
— generated COM component_install.bat
— generated script that registers the component (to register manually, see Register COM Component)
Distribute C/C++ Shared Libraries
Distribute the following files to integrate a C/C++ shared library in an application:
Function signatures of the deployed MATLAB functions
libraryName
.lib
/.dylib
/.so
— generated librarylibraryName
.h
— generated header file
Distribute Java Packages
Distribute the following files to integrate a Java® package in an application:
Function signatures of the deployed MATLAB functions
packageName
.jar
— generated Java package
Distribute .NET Assemblies
Distribute the following files to integrate a .NET assembly in an application:
Function signatures of the deployed MATLAB functions
assemblyName
.dll
— generated assembly fileassemblyName
.xml
— generated documentation filesassemblyName
.pdb
— optionally generated program database file containing debugging information
Distribute Python Packages
Distribute the following files to integrate a Python® package in an application:
Function signatures of the deployed MATLAB functions
_init_.py
— initialization script for the Python packagesetup.py
— generated Python installer