Info

此问题已关闭。 请重新打开它进行编辑或回答。

C file S-function creation?...

1 次查看(过去 30 天)
Bala kumar
Bala kumar 2016-2-23
关闭: MATLAB Answer Bot 2021-8-20
Hi All,
I need some tips and tricks for developing C file based s function creation. In that I have to pass the data using structure. any examples also welcomed.
Thanks and regards, Balakumar.

回答(1 个)

VAMSI KRISHNA THANIKANTI
Hi bala kumar, you can use the legacy_code to integrate your c files into simulink blocks by creating S function. check the link given below, https://in.mathworks.com/help/simulink/sfg/integrating-existing-c-functions-into-simulink-models-with-the-legacy-code-tool.html

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by