| 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)
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, 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 |
| C |
Yes |
Yes |
| Inlining Process | New Features and Compatibility Issues in Versions 4.0, 4.1, and 5.0 | ![]() |