Simulink coder for Fortran

10 vues (au cours des 30 derniers jours)
Gauti
Gauti le 9 Avr 2013
Is there a way of using the Simulink coder to convert a simulink model to Fortran instead of C++?

Réponse acceptée

Kaustubha Govind
Kaustubha Govind le 10 Avr 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

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by