User`s guide

12 Configuring Real-Time Workshop for Your Application
12-20
Restrictions
Hand-written S-functions without corresponding TLC files must contain
exception-free code. For more information on exception-free code, refer to
“Exception-Free Code” in Chapter 3 of Writing S-Functions.
The parameter values of the blocks in the source model are hard-coded into
the generated S-function. There is no mechanism to modify parameters in a
Real-Time Workshop generated S-function.
If you modify the source model that generated an S-Function block, the
Real-Time Workshop will not automatically rebuild the model containing
this S-function block.
Unsupported Blocks
The S-function format does not support the following built-in blocks:
Functions & Tables
- MATLAB Fcn
- S-Functions — M-file and Fortran S-functions, C MEX S-functions that
call into MATLAB.
Sinks
- Scope
- To Workspace
System Target File
rtwsfcn.tlc
Template Makefiles
rtwsfcn_bc.tmf —BorlandC
rtwsfcn_vc.tmf —VisualC
rtwsfcn_watc.tmf —WatcomC
rtwsfc_unix.tmf —UNIXhost