How to use S-Function in C.
Show older comments
Hello, everyone.
I wonder how to use S-Function in C.
Should I approach S-Function using Matlab engine from C?
I only know the S-Function provided, what are the Input and Output values.
Answers (1)
Anurag Ojha
on 15 Aug 2024
0 votes
Hey Park
Adding few MATLAB documentations which will be a good starting point for using S-Function in C/C++
- https://www.mathworks.com/help/simulink/create-cc-s-functions.html
- https://www.mathworks.com/help/simulink/slref/sfunctionbuilder.html
- https://www.mathworks.com/help/simulink/s-function-builder_mw_04a1b631-c9e0-4236-9eb5-e091b68ead09.html
I hope you find it helpful
Categories
Find more on Simulink 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!