Why MATLAB fn block and S function block are not supported for RTW code generation?
3 views (last 30 days)
Show older comments
Why MATLAB fn block and S-function block are not supported for RTW code generation?
0 Comments
Answers (1)
Kaustubha Govind
on 30 Sep 2013
The Interpreted MATLAB Function block is not supported for code-generation, but the (Embedded) MATLAB Function block does generate code as long as you are only writing MATLAB language features supported for code generation. You can also generate code from MATLAB S-functions by providing a TLC file that includes the C implementation for the block (see Inlining S-Functions for more information).
0 Comments
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!