Writing S-Functions | ![]() ![]() |
Inline Code Generation Example
Real-Time Workshop users can use a sample block target file for sfun_timestwo_for.mex
to generate code for sfcndemo_timestwo_for
. If you want to learn how to inline your own Fortran MEX file, see the example at matlabroot
/toolbox/simulink/blocks/tlc_c/sfun_timestwo_for.tlc
and read the Target Language Compiler Reference Guide.
![]() | Example | Creating Level 2 Fortran S-Functions | ![]() |