Array as a #define instead of scalar
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!