Use MATLAB® Package Manager (mpm) to install MATLAB, Simulink®, and other MathWorks® products or support packages from the operating system command line.
To get mpm for Linux, Windows, or macOS, see Get MATLAB Package Manager.
For information on using mpm, see these command reference pages:
| Command | Description |
|---|---|
mpm install |
Install products and support packages |
mpm download |
Download products and support packages |
mpm install-doc |
Install documentation |
mpm --help |
Get help using MATLAB Package Manager |
mpm --version |
Get MATLAB Package Manager version information |
For information on using mpm in the MATLAB Dockerfile, see Create a MATLAB Container Image.
If you encounter a technical issue or have an enhancement request, create an issue here.
- Fixed: Addressed issues to improve the quality and stability of
mpm.
Note:
mpmwas not updated on Intel Macs for 2025.2. When you download the latest version ofmpmon Intel Macs, you get 2025.1.
- Added: Use the
--no-depsoption ofmpm downloadto download only the specified products and omit product dependencies. Specify this option when all required dependencies have already been downloaded or are currently installed.
- Added: Support for installing IEC Certification Kit, DO Qualification Kit, and Simulink Code Inspector from source files downloaded using the interactive product installer, as described in Download Products Without Installing. You must have a license for these products to download them.
- Added: When you download products using
mpm download, the downloaded folder now includes platform-specific versions ofmpmthat you can use to install products on target computers.
- Added: Use the
--inputfileoption ofmpm downloadto download products by specifying options in an input file. Using this file, you can select the products and support packages you want to download without having to enter them at the command line. - Added: Use the
--platformsoption ofmpm downloadto download products for multiple platforms. Previously,mpm downloaddownloaded products only for the platform of the computer performing the download.
- Security: Patched CVE-2023-45853.
- Fixed: Resolved an issue that causes
mpmto fail on some Linux distributions.
- Added: Use
mpm downloadto download products and support packages without installing them. - Added: Install support packages that were downloaded using
mpm download. - Added: Support for installing IEC Certification Kit, DO Qualification Kit, and Simulink Code Inspector from a mounted ISO image. For an example, see Install Products from Mounted ISO Image.
- Changed:
mpmnow omits installing products that are already installed instead of issuing an error.
- Added: Specify the
--no-jreoption that allows you to skip installing the default Java Runtime Environment (JRE) used by MATLAB and set a custom JRE instead. For information on which JREs are supported, see Versions of OpenJDK Compatible with MATLAB by Release on the MathWorks website. - Changed: Versioning changed from YYYY.MM.MINOR.MICRO to YYYY.MINOR.MICRO Calendar Versioning.
- Added: Support for Windows
- Added: Support for macOS
- Added: Install hardware and software support packages.
- Added: Install required products automatically. For example, if you specify
--product Simulink, thenmpminstalls both Simulink and the required product MATLAB. - Added: Install products by specifying options in an input file.
- Fixed: Resolved an issue that prevented installation of R2023b.
- Added: Specify the
--no-gpuoption to prevent installation of GPU libraries when you install Parallel Computing Toolbox. - Changed: Versioning changed from Semantic Versioning to Calendar Versioning.
- Added: Install a specific MATLAB update level. For example, to download MATLAB R2022b Update 2, specify the
--releaseoption asR2022bU2.
- Added: Foundation changes to support upcoming features.
- Fixed: Improved parsing for
--releaseoption.
- Added: By default, MATLAB documentation and examples are not installed with MATLAB.
- Added: Use the
--docoption to include documentation and examples with the MATLAB installation. - Added: The
mpmcommand now observesTMPDIRenvironment variable. - Fixed: The
mpmcommand no longer crashes at run time on RHEL7/UBI7. - Fixed: Changed dropped packet behavior to improve download resilience in adverse network conditions.
- Fixed: Improved error message for installing into a MATLAB instance that does not match the specified release.
- Fixed: Installing a toolbox into an existing MATLAB instance at any update level that is not the latest update level for that release no longer results in the installed products throwing an error when invoked.
- Added: Initial release