
Install parallel computing toolbox in matlab docker
40 ビュー (過去 30 日間)
表示 古いコメント
Hi Community,
I am struggling with installing parallel computing toolbox within matlab docker images (latest version).
I have followed instructions here: https://www.mathworks.com/help/matlab/matlab_env/get-add-ons.html and https://hub.docker.com/r/mathworks/matlab .
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 !!!
0 件のコメント
採用された回答
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
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.
UPDATED
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.
wget https://www.mathworks.com/mpm/glnxa64/mpm
chmod +x mpm
sudo ./mpm install --release=R2022b --destination=/opt/matlab/R2022b/ --products Parallel_Computing_Toolbox
Installation Results:

Hope this work.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!