Implement Fortran code in your Simulink blocks.
S-Function | Include S-function in model |
S-Function Builder | Integrate C or C++ code to create S-functions |
Create Level-2 Fortran S-Functions
Describes a hybrid C/Fortran approach to writing an S-function that enables creation of more capable blocks.
How to wrap a C MEX S-function around existing Fortran code.