Can I use MATLAB docker image in MacOS?

11 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Containers 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by