mpm download
(Linux, Windows, Mac) Download products from operating system command line
Using mpm download 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 Find and Distribute Code Using MATLAB Package Manager (MATLAB).
Syntax
Description
Command-Line Inputs
mpm download
downloads MathWorks® products and support packages for the specified release to the designated
destination folder. MATLAB Package Manager (--release=<release> --destination=<path/to/destination> --products=<product1> ... <productN>mpm) also downloads any required
products.
Run this command from the operating system command line. You can then deploy the downloaded products onto multiple computers or install the products on offline machines.
mpm download ... [options] sets additional download options using
the previous syntax. For example:
To specify the computer platforms for which you want to download products, use the option
--platforms=<platform1> ... <platformN>.To omit product dependencies from the download, use the option
--no-deps.To accept vendor licenses, which are required for certain support packages, use the option
--accept-vendor-licenses.
You can specify options in any order.
Input File
mpm download
downloads products using an input file. You can download a template input file for your
release from the --inputfile=<path/to/file>mpm-input-files folder on GitHub®. You must specify --inputfile without any other
options.
Examples
Input Arguments
Limitations
mpmsupports downloading 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 downloading specific update releases only for R2021b and later.For R2018b through R2021a,
mpmdownloads the latest update release.For R2017b and R2018a,
mpmdownloads the general release (update 0).
mpmdoes not support downloading these products: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.