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
Simulink coder for Fortran
10 次查看(过去 30 天)
显示 更早的评论
Is there a way of using the Simulink coder to convert a simulink model to Fortran instead of C++?
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!