Does Embedded Coder support instance-specific parameters for top model when generating C++ code?
이전 댓글 표시
I am generating code using the C++ class interface (CodeInterfacePackaging="C++ Class") and I want my parameters to be instance-specific (ie each object can have it's own values). The parameters are showing up in the model class, but they have the "static" keyword and therefore are shared between all objects of the class. How can I make my parameters instance-specific?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Simulink Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
