Effacer les filtres
Effacer les filtres

Simulink model compilation on deployment (mcc and docker image)

1 vue (au cours des 30 derniers jours)
Eduardo
Eduardo le 13 Déc 2022
Right now I am looking for the best way to deploy a simulink model as a standalone application which I can run multiple times in the cloud.
For now I have seen two possibilities of deployment:
  • Create an .exe file using mcc
  • Create a docker image of a matlab function running the model
I have based both solutions on the script given at Deploy with Simulink Compiler
When running the command to create the .exe file:
mcc -m deployedScript.m
I have seen in the command window that the model is being compiled:
### Building the rapid accelerator target for model: sldemo_suspn_3dof
### Successfully built the rapid accelerator target for model: sldemo_suspn_3dof
Build Summary
Top model rapid accelerator targets built:
Model Action Rebuild Reason
===============================================================================
sldemo_suspn_3dof Code generated and compiled buildInfo.mat does not exist.
Does this mean that the created executable contains a compiled copy of the model? or does the compilation happen each time that the application is executed?

Réponses (0)

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by