Main Content

Files Generated After Packaging MATLAB Functions

When the packaging process is complete, three folders are generated in the target folder location: for_redistribution, for_redistribution_files_only, and for_testing.

The file PackagingLog.html generated in the target folder location contains information on the mcc command used and output from the packaging process.

for_redistribution Folder

Distribute the for_redistribution folder to users who do not have MATLAB® installed on their machines.

The folder contains the file MyAppInstaller_web.exe that installs the application and the MATLAB Runtime (if it is included in the application at the time of packaging). It installs all the files that enable use of the packaged application on the target platform with the target language in the target folder.

for_redistribution_files_only Folder

Distribute the for_redistribution_files_only folder to users who do not have MATLAB installed on their machines. This folder contains specific files that enable use of the packaged application on the target platform with the target language.

C Shared Library

FileDescription
GettingStarted.html

HTML file containing packaging information.

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

FileDescription
GettingStarted.html

HTML file containing packaging information.

filename.lib

Import library for user-written mwArray API shared library.

filename.h

Header file for user-written mwArray API shared library.

filename.dll

Code for user-written mwArray API shared library.

v2:

  • generic_interface:

    • filename.ctf

    • readme.txt

The folder v2 contains another folder generic_interface. It contains a ctf file, which is the deployable archive for MATLAB Data API library.

It also contains a readme.txt file that has packaging information.

COM Component

FileDescription
_install.bat

File that registers the generated dll file.

filename_1_0.dll

The generated dll that needs to be registered using mwregsvr.exe or regsvr32.exe.

GettingStarted.html

HTML file containing packaging information.

.NET Assembly

FileDescription
filename.dll

File that contains the generated component that can be accessed using mwArray API.

filename_overview.html

HTML overview documentation file for the generated component. It contains requirements for accessing the component and for generating arguments using the mwArray class hierarchy.

filenameNative.dll

File that contains the generated component that can be accessed using native API.

GettingStarted.html

HTML file containing packaging information.

Java Application

FileDescription

doc:

  • html:

    • filename

      • Class1.html

      • Class1Remote.html

      • FilenameMCRFactory.html

      • packageframe.html

      • package-summary.html

      • packagetree.html

    • allclasses-frame.html

    • allclasses-noframe.html

    • constantvalues.html

    • deprecated-list.html

    • help-doc.html

    • index.html

    • index-all.html

    • overview-tree.html

    • package-list

    • script.js

    • stylesheet.css

The folder doc contains another folder html which contains HTML documentation for all classes in the packaged Java® application.

Filename.jar

Java archive for user-written application.

GettingStarted.html

HTML file containing packaging information.

Python Application

FileDescription

filename:

  • _init_.py

  • filename.ctf

The folder Filename contains the following files:

  • File used during initialization of the Python® package.

  • Deployable archive for the Python package.

setup.py

File that installs the Python packaged application.

GettingStarted.html

HTML file containing packaging information.

for_testing Folder

Use the files in this folder to test your application. The folder contains all the intermediate and final artifacts such as binaries, JAR files, header files, and source files for a specific target. The final artifacts created during the packaging process are the same files as described in for_redistribution_files_only Folder. You use these files to test your application.

This folder also contains five text files.

FileDescription
includedSupportPackages.txt

Lists all support files included in the application.

mccExcludedFiles.log

Log file that contains a list of any toolbox functions that were not included in the application. For information on excluding data files, see %#exclude.

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 application. For more information on product IDs, see matlab.codetools.requiredFilesAndProducts.

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.

The intermediate artifacts generated are a result of packaging of the MATLAB files. They are not significant to the user.

See Also

| |

Related Topics