Array as a #define instead of scalar
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Simulink Coder en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!