How to generate tlc file for the s function build through legacy tool?
9 views (last 30 days)
Show older comments
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 Comments
Answers (1)
SAID ELMOTAOUAKKEL
on 22 May 2019
Hello
you ca use the legacy function command to generate the tlc file
legacy_code('sfcn_tlc_generate', specs)
0 Comments
See Also
Categories
Find more on Target Language Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!