Single-Instance vs Multi-Instance Embedded Coder?

21 次查看(过去 30 天)
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?

采纳的回答

Mark McBroom
Mark McBroom 2020-6-11
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by