Main Content
Integrate Fortran Code into Simulink
Integrate existing Fortran® code into Simulink®
Integrate your existing Fortran code into Simulink models.
Blocks
S-Function | Include S-function in model |
S-Function Builder | Integrate 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.