What is a non-inlined S function

24 views (last 30 days)
Ajay Pherwani
Ajay Pherwani on 12 Jun 2014
Commented: Walter Roberson on 9 Jun 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 ?

Answers (2)

Kaustubha Govind
Kaustubha Govind on 13 Jun 2014
Please see the documentation for Noninlined S-Functions and Inlining S-Functions.
  2 Comments
Ajay Pherwani
Ajay Pherwani on 16 Jun 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 on 9 Jun 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.

Sign in to comment.


Marian Serna Imbachi
Marian Serna Imbachi on 9 Jun 2018
now,do you know the answer to that ?

Categories

Find more on Simulink Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!