Custom S-Functions

S-function code written in Fortran

In specialized cases, you can be required to write an S-function in Fortran. To use Fortran requires processing steps beyond the steps required to write an S-function in C. See S-Function Guidelines.


Fortran S-Functions

Use Simulink® S-functions to incorporate Fortran code into a real-time application.

Fortran Atmosphere Model

Build an example real-time application that includes Fortran code.

Was this topic helpful?