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

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 comentarios

Rik
Rik el 22 de Jun. de 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.
No I don't have this code, yet.

Iniciar sesión para comentar.

Respuestas (1)

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi el 24 de Jul. de 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.

Categorías

Más información sobre Simulink Coder en Centro de ayuda y File Exchange.

Preguntada:

el 22 de Jun. de 2020

Respondida:

el 24 de Jul. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by