tlc file for level 2 s function

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

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
That's good to know as well. Thanks.

Sign in to comment.

 Accepted Answer

TAB
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)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Tags

Asked:

on 4 Jun 2012

Community Treasure Hunt

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

Start Hunting!