![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/789490/image.png)
Custom name for 1D Lookup function in generated code
7 次查看(过去 30 天)
显示 更早的评论
Hello,
I have several models which uses 1D lookup table. During Code-generation, I see "look1_iflf_binlx" function is generated in multiple Model.c files.
Question#1: Is there any option to generate only one instance of this lookup table in a seperate file ex: look1_iflf_binlx, insted of model.c file ?
Question#2: Is there any option to configure the name of this function as ModelName_look1_iflf_binlx ?
Any hlep on this will be appreciated !!!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/283534/image.jpeg)
0 个评论
采纳的回答
Mohammed Elhifnawy
2021-11-4
The answer is here
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/789490/image.png)
1 个评论
Alex
2023-1-4
Note: this option is only available if you have selected "C++" as your language. It currently is not an option for "C" language.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!