Can I use MATLAB Package Manager (MPM) to install MATLAB on an offline machine?

조회 수: 166 (최근 30일)
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
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.
  • 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"

 

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
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
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 CenterFile 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!

Translated by