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 Kommentare

Sourabh Kondapaka
Sourabh Kondapaka am 20 Jan. 2023
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 am 20 Jan. 2023
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?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Gefragt:

am 19 Jan. 2023

Kommentiert:

am 20 Jan. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by