Code replacement tool to generate code
显示 更早的评论
Hello, I'm using the code replacement library tool to replace some C code for various functions such as a sum. In the crtool settings for a given function, in the "build information" part, I filled in the "implementation source file" and "implementation header file" fields with the names of the files to be used. The problem is that when I enter the name of the .c file in the "implementation source file" field and then generate the simulink model code, the .c file is not called. While, if I insert the path of the .c file in the "implementation source file" field of the crtool, the model code is generated correctly by recalling the file.
This problem does not occur for the header file.
Why doesn't the "implementation source file" field of the crtool work if I just enter the name of the .c file?
Thank you!
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!