Install parallel computing toolbox in matlab docker

40 ビュー (過去 30 日間)
J. 2022 年 12 月 4 日
コメント済み: J. 2022 年 12 月 12 日
Hi Community,
I am struggling with installing parallel computing toolbox within matlab docker images (latest version).
Some problems:
1. The matlab docker image browser version does not support Add-on Explorer, which means I cannot install the toolbox directly.
2. The docker image suggests using File Exchange to download the toolbox. However, I can not find the parallel computing toolbox in File Exchange.
3. With my education license, the parallel computing toolbox is automatically installed. No .mltbx file is provided, which makes local installation inaccessible inside docker.
On the other hand, the offical matlab docker documentation says add-ons can be installed.
Can anyone offer some help? Thank you very much !!!


Kojiro Saito
Kojiro Saito 2022 年 12 月 5 日
編集済み: Kojiro Saito 2022 年 12 月 6 日
Web browser version does not support Add-On Explorer, so, you need to launch MATLAB with VNC options.
docker run -it --rm -p 5901:5901 -p 6080:6080 --shm-size=512M mathworks/matlab:r2022b -vnc
Then, in your web browser, type "http://localhost:6080/" in address bar.
You can access Linux's desktop environment.
Next, launch "Terminal Emulator", and type
sudo matlab
to launch MATLAB with sudo. It's because MATLAB is installed in /opt/matlab/R2022b with root write permissions.
Then, you can launch Add On Explorer and install toolboxes.
Also, there is a command line way instead of Add-On Explorer.
MATLAB Package Manager (MPM) is available from GitHub.
In Terminal Emulator, download MPM with wget and install Parallel Computing Toolbox with MPM.
chmod +x mpm
sudo ./mpm install --release=R2022b --destination=/opt/matlab/R2022b/ --products Parallel_Computing_Toolbox
Installation Results:
Hope this work.
  3 件のコメント
J. 2022 年 12 月 12 日
@Kojiro Saito thanks for the update! I followed your instruction and successfully installed the toolbox. Everything works fine. (The installation took some time to finish and requires more space than desktop version.) Thank you very much!


その他の回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by