Single-Instance vs Multi-Instance Embedded Coder?

23 visualizaciones (últimos 30 días)
Matteo Manzini
Matteo Manzini el 8 de Jun. de 2020
Respondida: Mark McBroom el 11 de Jun. de 2020
What's the main difference between single-instance and multi-instance code generated from the embedded coder and how do they compare in terms of performances?

Respuesta aceptada

Mark McBroom
Mark McBroom el 11 de Jun. de 2020
For single instance the generated code will use global data to hold state and parameter information. For multiple instance, state and parameters are passed into the code via argument list. The calling code needs to allocate unique storage for each instance of the of the generated code.

Más respuestas (0)

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by