How to generate tlc file for the s function build through legacy tool?

5 ビュー (過去 30 日間)
sai kamal sreeja veepuri
sai kamal sreeja veepuri 2018 年 1 月 12 日
回答済み: SAID ELMOTAOUAKKEL 2019 年 5 月 22 日
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?

回答 (1 件)

SAID ELMOTAOUAKKEL
SAID ELMOTAOUAKKEL 2019 年 5 月 22 日
Hello
you ca use the legacy function command to generate the tlc file
legacy_code('sfcn_tlc_generate', specs)

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by