This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Integrate Fortran Code

Implement Fortran code in custom Simulink® blocks

Implement Fortran code in your Simulink blocks.

Blocks

S-FunctionInclude S-function in model
S-Function BuilderIntegrate C or C++ code to create S-functions

Topics

Create Level-2 Fortran S-Functions

Describes a hybrid C/Fortran approach to writing an S-function that enables creation of more capable blocks.

Port Legacy Code

How to wrap a C MEX S-function around existing Fortran code.