Packing a Simulink project in Docker
6 ビュー (過去 30 日間)
古いコメントを表示
Dear all,
I have created a water treatment plant in Matlab Simulink and deployed in Matlab on Docker.
.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/828670/image.png)
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?
回答 (1 件)
Suman
2024 年 2 月 14 日
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.
You may refer to this MATLAB answer for more information: https://in.mathworks.com/matlabcentral/answers/1957749-is-it-possible-to-create-a-docker-image-from-simulink-model
Please refer to the following documentations as well to learn more about the different configurations options possible:
- https://in.mathworks.com/help/compiler_sdk/mps_dev_test/create-a-microservice-docker-image.html
- https://in.mathworks.com/help/compiler/package-matlab-standalone-applications-into-docker-images.html
I hope that helps!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Containers についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!