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

 채택된 답변

Kaustubha Govind
Kaustubha Govind 2013년 4월 10일

1 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Simulink Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by