Is it possible to generate C code from a S-function ?

1 view (last 30 days)
Hello,
I try to transfer a model from simulink to another software. I want to transfer generate C code from a S-funciton, so I can incorporte this code into the other software.
Is this possible ? What is the way to go ?
Thanks !
Thomas
  2 Comments
Rik
Rik on 22 Jun 2020
Do you have the C/C++ code that generated the S-function?
The documentation will generally include a section about the limitations of code generations for a specific function, so this page might provide some clues about where to look.

Sign in to comment.

Answers (1)

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi on 24 Jul 2020
Hi,
The following link has details regarding the features and limitations of s-functions and might help you. Referring to the above suggested link might also help you.

Community Treasure Hunt

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

Start Hunting!