tlc file for level 2 s function

6 views (last 30 days)
Syed
Syed on 4 Jun 2012
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
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
Syed
Syed on 13 Jun 2012
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

Community Treasure Hunt

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

Start Hunting!