How do I generate code from a MATLAB script that uses preprocessor defines from external files with Embedded Coder R2023a?
Afficher commentaires plus anciens
I am generating code using Embedded Coder from a MATLAB script in R2023a. This code uses values from preprocessor defines in external header files. I would like to be able to generate code that uses these external defines, similar to the 'ImportedDefine' storage class for Simulink models. However, despite this being an option in Simulink, there is no such option for MATLAB code using storage classes as described here:
.
Is there a good way to generate this kind of code?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Introduction to Installation and Licensing 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!