Here is the idea, w want to have a docker container to raw data from a database run the simulation model from Simulink and then push the new data back to the database. My issue here, I don't know how Simulink we will run on docker. I looked at Code generation, but I am not sure if that is a production way to deploy it.

댓글 수: 2

Sourabh Kondapaka
Sourabh Kondapaka 2023년 1월 20일
Hi @Fares,
You can use mpm(MATLAB Package Manager) to build your own docker image with Simulink installed. With data present, you can launch the docker container with -batch flag (check dockerhub for information) and run your simulation through matlab scripts.
Fares
Fares 2023년 1월 20일
I tried to pull the docker image install simulink and run the simulation but the image size was too large ~10GB. I wanted to do compile it and run it. Because we will not change the Simulink model. It will just run. Am I missing something here?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Configure and View Diagnostics에 대해 자세히 알아보기

질문:

2023년 1월 19일

댓글:

2023년 1월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by