Main Content


Specify use of TLC file during code generation


Indicates the S-function has an associated TLC file and does not contain an mdlRTW method. Setting this option has no effect if the S-function contains an mdlRTW method. During code generation, if SS_OPTION_SFUNCTION_INLINED_FOR_RTW is set and the Simulink® Coder™ product cannot locate the S-function's TLC file, the Simulink Coder product generates an error. If SS_OPTION_SFUNCTION_INLINED_FOR_RTW is not set but the Simulink Coder product does locate a TLC file for the S-function, it uses the TLC file.

Version History

Introduced in R2007b