Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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?

Answers (0)

Community Treasure Hunt

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

Start Hunting!