Single-Instance vs Multi-Instance Embedded Coder?

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일

1 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2020년 6월 8일

답변:

2020년 6월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by