What is a non-inlined S function
27 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I was trying to create my own library blocks for a model. It simulated , but when i tried to make a build it throw-ed an error : Block 'model_path/S-Function' is a non-inlined s-function, which is not supported with the current configuration. Consider selecting the support 'non-inlined s-functions' option on the Configuration Parameters > Real-Time Workshop > Interface page.
What is a non-inlined S function ? How to make S Function as inlined ?
0 commentaires
Réponses (2)
Kaustubha Govind
le 13 Juin 2014
2 commentaires
Walter Roberson
le 9 Juin 2018
non-inlined S-function is like creating a C function that is called without knowing anything about what is inside it, with there being some overhead to setting up the call.
inlined S-function is a way of reducing the overhead and creating more specialized code that is more efficient, but it requires that the user write TLC files the describe the code in more detail.
Voir également
Catégories
En savoir plus sur Simulink Coder dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!