Can I use MATLAB docker image in MacOS?

12 ビュー (過去 30 日間)
DAIJIRY NARZARY
DAIJIRY NARZARY 2021 年 8 月 30 日
回答済み: Pratyay Pande 2021 年 9 月 2 日
I have successfully opened matlab docker image but I want to run a function that I created in that docker matlab. But the instructions in https://in.mathworks.com/help/compiler/compiler.build.standaloneapplication.html sqays that it can be done only in linux but I wanna execute in Mac OS. Is it possible???

回答 (1 件)

Pratyay Pande
Pratyay Pande 2021 年 9 月 2 日
Packaging a MATLAB Docker image is supported on Linux only. However, the resulting Docker image can be executed on all the 3 platforms: Windows, Linux and macOS.
To run a Docker image in macOS, you need to have Docker Desktop and XQuartz (for GUI apps) installed.
You can find instructions to create a Docker image for MATLAB, Simulink and any other toolboxes you are using in the following link:
The MATLAB Docker container can be found here in dockerhub:
Please note that this Docker container has been tested for Ubuntu 20.04 only.
Hope this helps!

カテゴリ

Help Center および File ExchangeManage Products についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by