How do I generate code from a MATLAB script that uses preprocessor defines from external files with Embedded Coder R2023a?
Ältere Kommentare anzeigen
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?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!