Simulink coder for Fortran

Is there a way of using the Simulink coder to convert a simulink model to Fortran instead of C++?

 Akzeptierte Antwort

Kaustubha Govind
Kaustubha Govind am 10 Apr. 2013

1 Stimme

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

Weitere Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by