Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to avoid conflicting reusable function names generated from different Simulink models using ERT?

1 回表示 (過去 30 日間)
Amr Nagaty
Amr Nagaty 2017 年 9 月 26 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I have different Simulink models using the same atomic reusable subsystem library blocks. ERT is used to generate code for each model separately. The generated code is then integrated together to be used in a single C application. The problem is the generated reusable function, source and header file names are the same for the different models. Hence, they can't be integrated in the same C application due to conflicts.
How can ERT be configured to automatically add the top-level model name to reusable functions to avoid conflicts?

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by