Package a
Toolbox
Dialog Box
Section
Description
Installation of Additional Software — List of additional software ZIP
files that are installed on the user's system when they install a
toolbox.
Specify these fields:
- Display Name — The name to display to the user when they
install a toolbox. - License URL — The URL of the additional software license
agreement to display to the user when they install a toolbox. The
user is prompted to review and agree to the license agreement
during installation. You must specify a valid URL to the license
agreement. - Download URL — The URL to the ZIP file that contains the
additional software. To specify different download URLs for
different platforms, select a platform name from the drop-down
menu to the left of the download URL. Then, click Add Platform
to add a download URL for additional platforms.
When the user installs a toolbox, MATLAB installs all additional
software in the addons\Toolboxes\AdditionalSoftware
folder, where addons is the add-ons default installation folder. For
more information about the location of the add-ons default
installation folder, see “Manage Your Add-Ons”.
If your toolbox contains code that refers to the installation folder of
the specified additional software, make these references portable to
other computers. Replace the references with calls to the generated
function toolboxname\getInstallationLocation.mlx, where
toolboxname is the name of your toolbox. For example, if you are
creating a toolbox called mytoolbox and want to reference the
install location for additional software called mysoftware, replace
this code
mysoftwarelocation = 'C:\InstalledSoftware\mysoftware\'
25 Programming Utilities