mpm install
(Linux, Windows, Mac) Install products from operating system command line
Using mpm install
at the operating system command line requires
MATLAB® Package Manager. See Get MATLAB Package Manager.
If you instead want to manage packages within MATLAB, see Package Management (MATLAB).
Syntax
Description
mpm install
installs MathWorks® products and support packages for a release to the specified installation
folder. --release=<release>
--destination=</full/path/to/destination>
--products=<product1> ... <productN>
mpm
also installs any required products, if they are not
installed already.
Run mpm install
from the operating system command line. You can
also use this command in a MATLAB Dockerfile to create a MATLAB container image. For more details, see Create a MATLAB Container Image on GitHub®.
mpm install
specifies the installation source. Valid sources include products and support packages
downloaded using --source=</full/path/to/source>
--destination=</full/path/to/destination>
--products=<product1> ... <productN>
mpm download
or a
mounted product ISO image downloaded from MathWorks Downloads. If you do not specify
--source
, then mpm
installs products from
mathworks.com
.
mpm install ... [options]
sets additional product installation
options, using either of the previous syntaxes. For example, you can omit the installation
of GPU libraries when installing Parallel Computing Toolbox™, or omit the installation of the default Java® Runtime Environment (JRE) used by MATLAB. You can specify options in any order.
mpm install
installs products using an input file. You can download a template input file for your
release from the --inputfile=</full/path/to/file>
mpm-input-files
folder on GitHub. You must specify --inputfile
without any other
options.
Examples
Input Arguments
Limitations
mpm
supports installing products and support packages for these releases only:Products — R2017b or later
Support packages — R2019a or later
Not all MathWorks products are available for all operating systems and architectures that MATLAB supports:
mpm
supports installing specific update releases only for R2021b and later. For R2021a and earlier,mpm
always installs the latest update release.On Mac, installing products from a mounted DMG image is not supported.
On Windows, you cannot uninstall products that were installed using
mpm
.mpm
supports installing the following products only from a mounted product ISO image. For an example, see Install Products from Mounted ISO Image.IEC Certification Kit
DO Qualification Kit
Simulink Code Inspector™
Polyspace® Client™ for Ada
Polyspace Server™ for Ada
mpm
does not support installing these support packages:Image Acquisition Toolbox™ Support Package for GenICam™ Interface
Image Acquisition Toolbox Support Package for GigE Vision® Hardware
Simulink Coder™ Support Package for BBC micro:bit
MATLAB Support Package for IP Cameras
New Desktop for MATLAB
MATLAB Support Package for Parrot® Drones
MATLAB Support Package for Ryze Tello Drones
Simulink Real-Time™ Support Package
To download and install these support packages:
Download the Support Software Downloader for your platform.
Run the downloader. Select your release, the support packages you want, and the destination folder for the download.
Once the download is complete, open the
readme.txt
file in the download folder. Follow the instructions in thatreadme
file to install the support packages.