tlc file for level 2 s function
5 views (last 30 days)
Show older comments
Is there a simple documentation with a step-by-step tutorial on how to create a tlc file for a level 2 s function? It's a pity that such a file is not created automatically for xPC target!
2 Comments
Dan Lluch
on 5 Jun 2012
I realize you asked for tutorials, but want to make sure you know that all the xpc blocks have their source code ship as examples of those s-functions...
<matlabroot>\toolbox\rtw\targets\xpc\target\build\xpcblocks
Accepted Answer
TAB
on 5 Jun 2012
You can find some simple example of in-lining level 2 s-function here
Here you will find the quick reference of overall code generation architecture using TLC.
Also see some available custom blocksets like Arduino blockset, and see how blocks and their TLCs are implemented.
Start with basic examples and use TLC user guide for reference.
More Answers (0)
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!