Target Language Compiler | ![]() ![]() |
model
.rtw
files) into source code. The exercises in the following tutorial are designed to highlight the principal reasons for and techniques of using TLC:Introduction |
About the TLC Tutorials |
Reading Record Files with TLC |
How record files are structured, and how TLC accesses them and interprets their contents |
Processing model.rtw Files with TLC Scripts |
Exploring how TLC library functions extract data from model .rtw files |
Inlining S-Functions with TLC |
The basics of inlining S-functions, the most common application of TLC customization |
Exploring Variable Names and Loop Rolling |
Understanding how and when TLC outputs loops, and how variable names are affected |
Debugging Your TLC Code |
Essential TLC debugger commands, setting breakpoints, and tracing execution |
Using TLC Code Coverage to Aid Debugging |
A simple approach to getting information about which TLC statements execute |
Wrapping User Code with TLC |
Using TLC to integrate legacy and proprietary code into compiled models |
![]() | Wrapper Inlined S-Function Example | Introduction | ![]() |