matlab.addons.toolbox.toolboxVersion
R2026bQuery or modify version of package
Syntax
Description
currentVersion = matlab.addons.toolbox.toolboxVersion(
queries packageFile)packageFile for the current version number. You do not
need to install the package to query the version number.
previousVersion = matlab.addons.toolbox.toolboxVersion(
sets the package version number to packageFile,newVersion)newVersion and returns the
previous version number.
Examples
Input Arguments
Alternatives
You can query the version number of your package from the Add-Ons panel. For more information, see Get and Manage Add-Ons.
You can update the version number of your package from the Build Package UI. For more information, see Interactively Create and Share Packages.