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?

 採用された回答

MathWorks Support Team
MathWorks Support Team 2026 年 7 月 31 日
編集済み: MathWorks Support Team 2026 年 7 月 31 日

0 投票

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:

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Deployment, Integration, and Supported Hardware についてさらに検索

製品

リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by