Writing S-Functions Previous page   Next Page

Introduction

There are two main strategies to executing Fortran code from Simulink. One is from a level 1 Fortran-MEX (F-MEX) S-function, the other is from a level 2 gateway S-function written in C. Each has its advantages and both can be incorporated into code generated by the Real-Time Workshop.


Previous page  Creating Fortran S-Functions Level 1 Versus Level 2 S-Functions Next page

© 1994-2005 The MathWorks, Inc.