Can I use MATLAB docker image in MacOS?

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)

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 MATLAB in Help Center and File Exchange

Asked:

on 30 Aug 2021

Answered:

on 2 Sep 2021

Community Treasure Hunt

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

Start Hunting!