Array as a #define instead of scalar
이전 댓글 표시
Hi all
I want to use a small array as a Storage Class 'define':

However, when I use this in my model and try to generate code, it gives the following error:

So it seems I cannot use an array as a #define in code. Is this to be expected? Is there a work-around?
With kind regards,
Jonas
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Simulink Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!