What is a non-inlined S function
31 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
Kaustubha Govind
2014-6-13
2 个评论
Walter Roberson
2018-6-9
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.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!