Interacting with docker microservice
12 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi Support,
When running or compiling a matlab model, I can set callbacks
simulink.compiler.setExternalInputsFcn
simulink.compiler.setPostStepFcn
that are called during runtime and can be used for interacting with the model by manipulating or evaluating input and/or output data.
Is there any thing comparable when compiling and deploying to a microservice?
Aka Webhooks or Websockets or HTTP Streaming which one can bind the callbacks to? If so are there any examples?
Is there an overview of all available API of the microservice?
Thanks.
0 Commenti
Risposte (1)
praguna manvi
il 14 Mar 2025
As I see you are looking to deploy a Simulink model as a microservice, refer to this useful discussion thread on deploying it as a Docker container image, wrapped inside a MATLAB function:
Refer to the following documentation for more examples of deploying MATLAB functions as a microservice that accepts RESTful requests:
Vedere anche
Categorie
Scopri di più su Containers in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!