What is a non-inlined S function

27 vues (au cours des 30 derniers jours)
Ajay Pherwani
Ajay Pherwani le 12 Juin 2014
Commenté : Walter Roberson le 9 Juin 2018
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 ?

Réponses (2)

Kaustubha Govind
Kaustubha Govind le 13 Juin 2014
Please see the documentation for Noninlined S-Functions and Inlining S-Functions.
  2 commentaires
Ajay Pherwani
Ajay Pherwani le 16 Juin 2014
thanks for help... but the window shows :-_Access to documentation for certain products requires your MathWorks Account to be associated with a license._ Do I need to need to have licence in order to view these document ?
Walter Roberson
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.

Connectez-vous pour commenter.


Marian Serna Imbachi
Marian Serna Imbachi le 9 Juin 2018
now,do you know the answer to that ?

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