Packing a Simulink project in Docker

7 views (last 30 days)
Santiago Figueroa Lorenzo
Answered: Suman on 14 Feb 2024
Dear all,
I have created a water treatment plant in Matlab Simulink and deployed in Matlab on Docker..
Recently, I saw this Matlab tutorial to package a standalone application on Docker, so, my intention is to package the Simulink project into a docker like a tutorial.
Is compiler.package.docker functionality able to package Simulink projects?

Answers (1)

Suman
Suman on 14 Feb 2024
Hi Santiago,
I understand that you want to package a Simulink model into a docker image.
Yes, it is indeed possible to package a Simulink model into a docker image using the same compiler.package.docker command. You have to create a MATLAB script to simulate you model and you can then package that script into a docker image.
Please refer to the following documentations as well to learn more about the different configurations options possible:
I hope that helps!

Categories

Find more on Containers in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!