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

4 Ansichten (letzte 30 Tage)
Thomas Schurch
Thomas Schurch am 22 Jun. 2020
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 Kommentare
Rik
Rik am 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.
Thomas Schurch
Thomas Schurch am 22 Jun. 2020
No I don't have this code, yet.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi am 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.

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by