Target Language Compiler    

Block Target File Methods

Each block has a target file that determines what code should be generated for the block. The code can vary depending on the exact parameters of the block or the types of connections to it (e.g., wide vs. scalar input).

Within each block target file, block functions specify the code to be output for the block in the model's or subsystem's start function, output function, update function, and so on.

Block Target File Mapping

The block target file mapping specifies which target file should be used to generate code for which block type. This mapping resides in matlabroot/rtw/c/tlc/mw/genmap.tlc. All the TLC files listed are located in directories within matlabroot/rtw/c/tlc for C.


  TLC Coding Conventions Block Functions