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

5 vues (au cours des 30 derniers jours)
Thomas Schurch
Thomas Schurch le 22 Juin 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 commentaires
Rik
Rik le 22 Juin 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 le 22 Juin 2020
No I don't have this code, yet.

Connectez-vous pour commenter.

Réponses (1)

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi le 24 Juil 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.

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by