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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Nonlinearity에 대해 자세히 알아보기

질문:

2016년 8월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by