Why the Simulink s-function builder generated c file (wrapper.c) is removed after build (code generation)?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Bokai Chen
le 2 Jan 2020
Réponse apportée : Urmila Rajpurohith
le 7 Jan 2020
I used the S-Function builder to create a s-function with mex64, tlc, and _wrapper.c files. However, after build (code generation with Ctrl+B), the _wrapper.c file is always removed. What are the potential reasons and how should I fix it? Thanks for help!
0 commentaires
Réponse acceptée
Urmila Rajpurohith
le 7 Jan 2020
In order to the S-function block to know where to look for the _wrapper.c, you need to explicitly tell it in the S-function modules field of the “S-function block”.
You can refer to below documentation link to know more information about the “S-function modules field”
0 commentaires
Plus de réponses (0)
Voir également
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!