Files Generated After Packaging MATLAB Functions
When you create a deployable component using MATLAB® Compiler SDK™, files that correspond to the build target are generated in the output folder. Depending on which packaging method you use, files may be located in various subfolders in the output folder. For more details on the available packaging methods, see Choose Deployment Option. For a list of files generated by MATLAB Compiler™, see Files Generated After Packaging MATLAB Functions.
The compiler.build
family of functions place output files in a
folder named after the main file and target type. For instance,
magicsquarePythonPackage
.
The Compiler apps generate a folder named after the compiler task and place output
files in a subfolder named build
. The apps optionally create a
package
subfolder if you create an installer. The installer
installs all of the binary artifacts required for distributing a compiled component and
optionally installs MATLAB Runtime. You can also generate an installer using the compiler.package.installer
function. Distribute the installer to users
who do not have MATLAB installed on their machines.
If you do not create an installer, you can manually distribute the set of files required to integrate the component according to the component type. For information on which files to distribute in order to develop and run applications that use your component, see Distribute MATLAB Compiler SDK Files to Application Developers.
Since R2025a: For information on files generated using a prior version of the Compiler apps, see Files Generated After Packaging MATLAB Functions (R2024b).
Files Generated by MATLAB Compiler SDK
MATLAB Compiler SDK generates the following files in the build output folder. The intermediate artifacts not listed here are generated as a result of packaging of the MATLAB files. They are not significant to the user.
All Targets
The following files are generated for all deployment targets.
File | Description |
---|---|
buildresult.json | JSON file
containing information on runtime dependencies included in
the package. The information corresponds to the
|
GettingStarted.html | HTML file containing packaging information and next steps. |
includedSupportPackages.txt | Lists all support files included in the package. |
mccExcludedFiles.log | Log file that contains a list of any toolbox functions
that were not included in the package. For information on
excluding data files, see |
PackagingLog.html | HTML file containing information on the
|
readme.txt | Contains information on deployment prerequisites and the list of files to package for deployment. |
requiredMCRProducts.txt | Contains product IDs of products required to run the
package. For more information on product IDs, see |
unresolvedSymbols.txt | Lists dependencies not found during packaging. If this file is not empty, you must locate the required dependencies and place them in the search path before recompiling. |
C Shared Library
File | Description |
---|---|
filename.lib | Import library for user-written shared library. |
filename.h | Header file for user-written shared library. |
filename.dll | Code for user-written shared library. |
C++ Shared Library
File | Description |
---|---|
GettingStarted.html | HTML file containing packaging information. |
filename.lib | Import library for user-written
This file is generated if you choose
the |
filename.h | Header file for user-written |
filename.dll | Code for user-written |
| The folder The
This folder is generated if you choose the MATLAB Data API during packaging. |
COM Component
File | Description |
---|---|
_install.bat | File that registers the generated
|
filename_1_0.dll | The generated |
.NET Assembly
File | Description |
---|---|
filename.dll | File that contains the generated component that can be
accessed using |
filename_overview.html | HTML overview documentation file for the generated
component. It contains requirements for accessing the
component and for generating arguments using the
|
filenameNative.dll | File that contains the generated component that can be accessed using native API. |
Java Package
File | Description |
---|---|
| The folder |
Filename.jar | Java archive for user-written application. |
Python Package
File | Description |
---|---|
| The folder
|
setup.py | File that installs the Python packaged application. |