Install Support Packages for MATLAB in MATLAB Online Server
A support package is a type of add-on that enables MATLAB® users to use a MathWorks® product with specific third-party hardware and software. This topic describes how to install support packages in MATLAB Online™ so that they are accessible by all users.
Before you begin, make sure you have done the following tasks:
Installed the Linux® version of MATLAB to the
Installed and configured MATLAB Online Server™.
Change Support Package Root
Create a folder inside
In MATLAB, change the support package root to the
Install Support Packages
From within the restarted MATLAB, sign in to your MathWorks Account.
Install any required support packages using the instructions in Get and Manage Add-Ons on the MathWorks website.
Support packages that install third party applications on the machine are not supported.
To verify that the support packages are installed successfully, launch MATLAB and then execute the following command:
supportPackages = matlabshared.supportpkg.getInstalled
To verify that the support packages are available in MATLAB Online, launch MATLAB in the browser and then execute the following command:
addons = matlab.addons.installedAddons
Delete the licenses folder under
Build MATLAB Image
From the installation you just performed, build the MATLAB image using the following command:
sudo ./mosadm build-matlab-image /MATLAB
If you have a multi-node installation, you can retag the Docker® images and then push them to a remote Docker registry using the
mosadm push-docker-imagescommand. Replace
registryNamewith the name of your Docker registry and
repositoryNamewith the name of your repository.
mosadm push-docker-images --deployment-image-registry
mosadmto redeploy the MATLAB pool service using the following commands:
./mosadm undeploy matlab-pool ./mosadm deploy matlab-pool