- R2021b and newer: archives from running "mpm download", or ISO, or download-only files
- R2018b-R2021a: archives from running "mpm download", or Download-only files
- R2017b and R2018a: archives from running "mpm download"
Can I use MATLAB Package Manager (MPM) to install MATLAB on an offline machine?
조회 수: 166 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2023년 6월 7일
편집: MathWorks Support Team
2025년 9월 9일
Can I use MPM to install MATLAB and its toolboxes on an offline machine? If so, what's different in the ./mpm command?
채택된 답변
MathWorks Support Team
2025년 9월 9일
편집: MathWorks Support Team
2025년 9월 9일
The MATLAB Package Manager (MPM) can be used to install MATLAB utilizing offline files. The most common way to obtain the offline installation files for use with mpm is to run an "mpm download" command on an online machine in order to obtain an "archives" folder which includes the desired products.
For example:
./mpm download --release=R2024b --destination=/tmp/mpm_downloads --products MATLAB Simulink Parallel_Computing_Toolbox
To install with the downloaded product files, you would replace --release in the mpm command with --source to point to the downloaded product files, or a mounted ISO (or the contents of an ISO copied into a folder). The following is an example of what a valid MPM command using the downloaded product files would look like:
./mpm install --destination=/usr/local/MATLAB/R2024b --source=/tmp/mpm_downloads --products MATLAB Simulink Parallel_Computing_Toolbox
For more information, see:
mpm download
However, for certain releases you can use the ISO as the "source" instead, or some "download-only" files from running the MATLAB installer on an online machine and using the "I want to download without installing" option.
Keep in mind after the download is complete you must transfer both the "mpm" executable and the archives folder (or other offline installation files) to the offline machine prior to running mpm on the offline machines.
Before proceeding, please make sure that the release you want to install is supported and supports the offline installation files you intend to use. You can find relevant information on the supported installation files for the different releases below.
For more information on how to obtain offline files for MATLAB, please refer to the following articles:
How can I get MATLAB installation files for use on an offline machine?
More general information on MATLAB Package Manager can be found here:
Install Programmatically Using MATLAB Package Manager
댓글 수: 4
xingxingcui
2023년 9월 28일
편집: xingxingcui
2023년 9월 28일
Nice that there is win and mac support.@Jestzer
But the first sentence of the official answer below says that mpm is only for linux.
MATLAB Package Manager (MPM) is a Linux-only command line package manager for MathWorks products
James
2023년 9월 28일
My guess is that they aren’t finished. R2023B doesn’t work on Windows right now, but the other releases seem to install.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!