mpm install
(Linux, Windows, macOS) Install products from operating system command line
mpm install
requires MATLAB® Package Manager. See Get MATLAB Package Manager.
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
, a
mounted product ISO image downloaded from MathWorks Downloads, or product files
downloaded using the MathWorks product installer. If you do not specify --source
, then
mpm
installs products from MathWorks.
mpm install ... <installOptions>
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 macOS, installing products from a mounted DMG image is not supported.
On Windows, you cannot uninstall products that were installed using
mpm
.The following products and support packages can only be installed from an ISO image downloaded from MathWorks Downloads, or from product files downloaded using the product installer, by using the
--source </full/path/to/source>
option.Products Support Packages IEC Certification Kit
DO Qualification Kit
Simulink Code Inspector™
Polyspace® Client™ for Ada
Polyspace Server™ for Ada
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™ QNX Target Support
More About
Tips
You can specify options using either an equal sign (
=
) or a space between the option name and its parameter value. For example,--destination=/full/path/to/destination
is equivalent to--destination /full/path/to/destination
.