Simulink as Miro service

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 Comments

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.
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?

Sign in to comment.

Answers (0)

Categories

Asked:

on 19 Jan 2023

Commented:

on 20 Jan 2023

Community Treasure Hunt

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

Start Hunting!