Main Content

Toolbox Distribution

Create and share toolboxes; add documentation

You can package MATLAB® files to create a toolbox to share with others. These files can include MATLAB code, data, apps, examples, and documentation. When you create a toolbox, MATLAB generates a single installation file (.mltbx) that enables you or others to install your toolbox.


expand all

matlab.addons.toolbox.packageToolboxPackage toolbox project
matlab.addons.toolbox.toolboxVersionQuery or modify version of toolbox
matlab.addons.toolbox.installToolboxInstall toolbox file
matlab.addons.toolbox.uninstallToolboxUninstall toolbox
matlab.addons.toolbox.installedToolboxesReturn information about installed toolboxes
matlab.addons.toolbox.ToolboxOptionsOptions for packaging toolbox project (Since R2023a)
matlab.codetools.requiredFilesAndProductsList dependencies of MATLAB program files
builddocsearchdbBuild searchable documentation database
patchdemoxmlfilePatch demos.xml file (Since R2021a)
validateFunctionSignaturesJSONValidate functionSignatures.json files
matlab.settings.FactoryGroup.createToolboxGroupCreate FactoryGroup root object for toolbox (Since R2019b)
addGroupAdd new factory settings group (Since R2019b)
addSettingAdd new factory setting (Since R2019b)
matlab.settings.mustBeLogicalScalarValidate that setting value is a logical scalar (Since R2019b)
matlab.settings.mustBeNumericScalarValidate that setting value is a numeric scalar (Since R2019b)
matlab.settings.mustBeStringScalarValidate that setting value is a string scalar (Since R2019b)
matlab.settings.mustBeIntegerScalarValidate that setting value is an integer scalar (Since R2019b)
matlab.settings.SettingsFileUpgraderVersion-specific changes in factory settings tree of toolbox (Since R2019b)
moveRecord move or rename of factory setting or group (Since R2019b)
removeRecord removal of factory setting or group (Since R2019b)
matlab.settings.reloadFactoryFileLoad or reload factory settings (Since R2019b)
matlab.settings.loadSettingsCompatibilityResultsResults of upgrading personal settings of toolbox for specific version (Since R2019b)
FactoryGroupGroup of factory settings and factory subgroup objects (Since R2019b)
FactorySettingFactory settings object (Since R2019b)
ReleaseCompatibilityResultsResults of upgrading toolbox with specific version number (Since R2019b)
ReleaseCompatibilityExceptionException that occurs when upgrading toolbox (Since R2019b)
VersionResultsResults of upgrade operations (Since R2019b)
OperationResultStatus of individual operation when upgrading toolbox (Since R2019b)