| Target Language Compiler | ![]() |
Search Algorithm for Locating Target Files
The Target Language Compiler has the following search path for block target files:
.m) file is located./tlc_c (for C language targets)./tlc_ada (for Ada language targets)The first target file encountered with the required name that implements the proper language will be used in processing the S-function's model.rtw file entry.
Availability for Inlining and Noninlining
S-functions can be written in M, Fortran, Ada, and C. TLC inlining of S-functions is available as indicated in this table.
| S-Function Type |
Noninlining Supported |
Inlining Supported |
| M-file |
No |
Yes |
| Fortran MEX |
No |
Yes |
| Ada |
No |
Yes |
| C |
Yes |
Yes |
| Inlining Process | Target Language Compiler 4.0 New Features | ![]() |