Target Language Compiler    

Wrapping User Code with TLC

Objective: Learn the architecture of wrapper S-functions and how to create an inlined wrapper S-function using TLC.

Example directory: tlctutorial/wrapper

Wrapper S-functions enable you to pull in existing C functions without fully rewriting them in the context of Simulink S-functions. Each wrapper you provide is an S-function "shell" that merely calls one or more existing, external functions. Wrappers are explained and demonstrated below as follows:


  Log Without Inline Parameters Why Wrap?