I have existing Fortran code that I want to run as part of a Simulink model, and I do not want to have to rewrite the code to do so. Eventually, I want to compile the resulting model into a standalone executable.
MATLAB: How to incorporate the existing Fortran code into a Simulink model
simulinksldepl
Related Question
- Simulink coder for Fortran
- How to build .m files into .mex files correctly
- Am I unable to simulate the model in accelerator mode when I have custom C-files specified in the S-Function Builder block in Simulink
- Including source files in s-function gateway file
- How to interface MATLAB code with C, C++, or FORTRAN
- Difficulties making wrapper mex file on linux
- Do I get a compile error with the S-Function Builder generated S-Function with the Simulink Coder
Best Answer