Can I use MATLAB docker image in MacOS?

8 views (last 30 days)
DAIJIRY NARZARY
DAIJIRY NARZARY on 30 Aug 2021
Answered: Pratyay Pande on 2 Sep 2021
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???

Answers (1)

Pratyay Pande
Pratyay Pande on 2 Sep 2021
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!

Categories

Find more on Manage Products in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!