Single-Instance vs Multi-Instance Embedded Coder?
11 views (last 30 days)
Show older comments
Matteo Manzini
on 8 Jun 2020
Answered: Mark McBroom
on 11 Jun 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?
0 Comments
Accepted Answer
Mark McBroom
on 11 Jun 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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!