Using C-file in S-function
Show older comments
How to integrate multiple .c and .h file using S-function.
Answers (1)
Anurag Ojha
on 15 Aug 2024
0 votes
Hi Jitendra
You can refer to following MATLAB documentations to integrate C or C++ code to create S-functions
- https://www.mathworks.com/help/simulink/slref/sfunctionbuilder.html
- https://www.mathworks.com/help/simulink/create-cc-s-functions.html
- https://www.mathworks.com/help/simulink/s-function-builder_mw_04a1b631-c9e0-4236-9eb5-e091b68ead09.html
Thanks
Categories
Find more on Block and Blockset Authoring 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!