Embedded coder lookup table code generation

Hi,
I am trying to generate c - code by embedded coder. I have two models which both have 1-D lookup tables inside. I generate code for both of them separately and use those codes in my project. Lookup table functions are defined in each code, so it causes multiple definition when I build my project.
Here is the lookup table function definition in generated code:
real32_T look1_iflf_binlcpw(real32_T u0, const real32_T bp0[], const real32_T table[], uint32_T maxIndex)
I don't want to edit generated codes each time I generate. Is there a way to prevent this situation? For example, can I include header file of one code in another code automatically?
Thanks

Respuestas (0)

Categorías

Preguntada:

el 18 de Ag. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by