matlab.addons.toolbox.packageToolbox
Package toolbox project
Syntax
Description
matlab.addons.toolbox.packageToolbox(
packages the toolbox project file (projectFile
).prj
file) into a MATLAB® toolbox file (.mltbx
file). The name of the
resulting MATLAB toolbox file is the name of the toolbox appended with the
.mltbx
extension. For example,
toolboxname.mltbx
.
For you to package a toolbox, the toolbox root folder and the toolbox files must be in the same location as when you created the toolbox project file.
matlab.addons.toolbox.packageToolbox(
packages
the toolbox and saves the projectFile
,outputFile
).mltbx
file with the
name and location specified by outputFile
.
Examples
Input Arguments
Alternatives
You can package toolboxes from the Package a Toolbox UI. For more information, see Create and Share Toolboxes.