Simulink coder for Fortran

2 views (last 30 days)
Gauti
Gauti on 9 Apr 2013
Is there a way of using the Simulink coder to convert a simulink model to Fortran instead of C++?

Accepted Answer

Kaustubha Govind
Kaustubha Govind on 10 Apr 2013
No, Simulink Coder can only generate C/C++ code from Simulink models. I don't know much about FORTRAN, but perhaps you can generate C code from your model and call it from a "wrapper" FORTRAN subroutine? For example, I found this discussion: http://stackoverflow.com/questions/354182/calling-c-code-from-fortran

More Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!