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. If you do not specify --source=</full/path/to/source> --destination=</full/path/to/destination> --products=<product1> ... <productN>--source, then
mpm installs products and support packages from
mathworks.com.
mpm install ... [options] sets additional product installation
options, using either of the previous syntaxes. For example:
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
mpmsupports 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:
mpmsupports installing specific update releases only for R2021b and later.For R2018b through R2021a,
mpminstalls the latest update release.For R2017b and R2018a,
mpminstalls the general release (update 0).
On Mac, installing products from a mounted DMG image is not supported.
On Windows, uninstalling MATLAB R2023b and earlier is not supported. To uninstall MATLAB R2024a and later, run the uninstaller with the
--mode silentoption. See Uninstall MATLAB.mpmdoes not support installing these products from source files downloaded usingmpm download:IEC Certification Kit
DO Qualification Kit
Simulink Code Inspector™
Polyspace® Client™ for Ada
Polyspace Server™ for Ada
To download and install these products, use the interactive installer. You can download only products for which you are licensed. For more details, see Install Licensed Products Downloaded Using MathWorks Product Installer.
mpmdoes 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
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 in R2024b or earlier:
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.txtfile in the download folder. Follow the instructions in thatreadmefile to install the support packages.
To download and install these support packages in R2025a or later, contact support.