Suffixing generated C code including referenced model

46 ビュー (過去 30 日間)
E Luttringer
E Luttringer 2025 年 10 月 30 日 10:15
回答済み: Bella 2025 年 11 月 6 日 19:59
Hi, I need to suffix the generated source code with a given suffix, and files from referenced models are not suffixed. How to manage this? My models both refers to reference configuration in a dictionary. I use ert.tlc target. Exemple with settings:
We can see that top model source code are indeed suffixed, but not the referenced model ones.
Is it a limitation of embedded coder? Is there a way to manage this without post-treatment?

採用された回答

Bella
Bella 2025 年 11 月 6 日 19:59
Hi there,
Unfortunately, we do not have a way to customize the name of the generated files for the model references. This is documented here:
Changing the referenced model name is the best workaround for this as of R2025b.
I recognize that this would be a helpful enhancement, so I have requested that the development team support this feature in a future release of MATLAB. You will receive an email if they implement this feature in a future release.

その他の回答 (1 件)

E Luttringer
E Luttringer 2025 年 11 月 3 日 13:23
Yes, I already use a dictionary with a shared configuration, which is used by both models.

カテゴリ

Help Center および File ExchangeDeployment, Integration, and Supported Hardware についてさらに検索

製品


リリース

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by