How can I append custom macro names to generated code in Embedded Coder?

In Embedded Coder, I want to append a custom macro name to my generated code. Is there a way to automate this process, as opposed to manually adding the macro name?

 Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 31 Juil 2026 à 0:00
Modifié(e) : MathWorks Support Team le 31 Juil 2026 à 4:15
You can append the custom macro name in the generated code using Memory Sections. The documentation on how to achieve this can be found here:

Plus de réponses (0)

Catégories

En savoir plus sur Deployment, Integration, and Supported Hardware dans Centre d'aide et File Exchange

Produits

Version

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by