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.
- Added: Use the
--inputfile
option ofmpm download
to 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
--platforms
option ofmpm download
to download products for multiple platforms. Previously,mpm download
downloaded products only for the platform of the computer performing the download.
- Security: Patched CVE-2023-45853.
- Fixed: Resolved an issue that causes
mpm
to fail on some Linux distributions.
- Added: Use
mpm download
to 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:
mpm
now omits installing products that are already installed instead of issuing an error.
- Added: Specify the
--no-jre
option 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
, thenmpm
installs 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-gpu
option 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
--release
option asR2022bU2
.
- Added: Foundation changes to support upcoming features.
- Fixed: Improved parsing for
--release
option.
- Added: By default, MATLAB documentation and examples are not installed with MATLAB.
- Added: Use the
--doc
option to include documentation and examples with the MATLAB installation. - Added: The
mpm
command now observesTMPDIR
environment variable. - Fixed: The
mpm
command 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