Writing S-Functions Previous page   Next Page

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 documentation.


Previous page  Example Creating Level 2 Fortran S-Functions Next page

© 1994-2005 The MathWorks, Inc.