Writing S-Functions Previous page   Next Page

Creating Fortran S-Functions


The following sections explain how to use the Fortran programming language to create S-functions.

Introduction
Overview of approaches to writing Fortran S-functions.
Creating Level 1 Fortran S-Functions
Describes a purely Fortran approach to creating an S-function.
Creating Level 2 Fortran S-Functions
Describes a hybrid C/Fortran approach to writing an S-function that enables creation of more capable blocks.
Porting Legacy Code
How to wrap an S-function around existing Fortran code.


Previous page  Building C++ S-Functions Introduction Next page

© 1994-2005 The MathWorks, Inc.