What is a non-inlined S function
24 views (last 30 days)
Show older comments
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 Comments
Answers (2)
Kaustubha Govind
on 13 Jun 2014
2 Comments
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.
See Also
Categories
Find more on Simulink Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!