Target Language Compiler | ![]() ![]() |
Exercise
The "external function" is provided in the file wrapfcn.c
. You are also provided with a C code S-function called wrapsfcn.c
. Now you must create a wrapper TLC file that:
double u
.wrapfcn()
in the outputs section of the code.The files for this exercise are in the tlctutorial
/wrapper
directory of the TLC examples directory.
This is the block diagram for the wrapper S-function example.
You can run the C source code to view the correct results.
![]() | Using a Wrapper S-Function Inlined with TLC | The TLC Wrapper | ![]() |