MATLAB Answers

Single-Instance vs Multi-Instance Embedded Coder?

15 ビュー (過去 30 日間)
Matteo Manzini
Matteo Manzini 2020 年 6 月 8 日
回答済み: Mark McBroom 2020 年 6 月 11 日
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 件のコメント

Sign in to comment.

採用された回答

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 件のコメント

Sign in to comment.

その他の回答 (0 件)


Translated by