MATLAB Answers

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

1 ビュー (過去 30 日間)
Amr Nagaty
Amr Nagaty 2017 年 9 月 26 日
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 件のコメント


回答 (0 件)


Community Treasure Hunt

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

Start Hunting!

Translated by