Info

This question is closed. Reopen it to edit or answer.

C file S-function creation?...

1 view (last 30 days)
Bala kumar
Bala kumar on 23 Feb 2016
Closed: MATLAB Answer Bot on 20 Aug 2021
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.

Answers (1)

VAMSI KRISHNA THANIKANTI
VAMSI KRISHNA THANIKANTI on 28 Nov 2017
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

This question is closed.

Products

Community Treasure Hunt

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

Start Hunting!