How to generate tlc file for the s function build through legacy tool?
8 次查看(过去 30 天)
显示 更早的评论
I have followed the steps mentioned in the https://www.mathworks.com/help/simulink/sfg/integrating-existing-c-functions-into-simulink-models-with-the-legacy-code-tool.html link to create a sfunction. It works fine when I try to simulate it. But when I try to build the model, it complaints that it cannot find tlc file. Do I have to include it manually?
0 个评论
回答(1 个)
SAID ELMOTAOUAKKEL
2019-5-22
Hello
you ca use the legacy function command to generate the tlc file
legacy_code('sfcn_tlc_generate', specs)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Target Language Compiler 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!