Why do I not see any definitions for my Simulink.Parameter object in the generated code when using 'CompilerFlag' storage class?
이전 댓글 표시
I have a parameter defined in the Simulink Model Explorer. I've set the storage class of the parameter to 'CompilerFlag' in the hope that I'll see a definition for the parameter in one of the header files in the generated code. However, all I see is the following:
#ifndef myParam
#error The variable for the parameter "myParam" is not defined
#endif
Where is the parameter defined?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Test Model Components에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!