Using FORTRAN code in MATLAB
3 ビュー (過去 30 日間)
古いコメントを表示
Hi guys,
Would like some input on whether I could run a fortran code in MATLAB.
If so what are the requirements and I am talking about an entire code created in Fortran
0 件のコメント
採用された回答
Rik
2020 年 8 月 31 日
You can compile Fortran code to mex, after which you can use it in Matlab as a function. Read the documentation for the API details.
3 件のコメント
James Tursa
2020 年 8 月 31 日
As long as you have a supported Fortran compiler, the procedure is pretty much the same. Do you have a supported Fortran compiler installed?
Rik
2020 年 8 月 31 日
I can't test anything for you, since I have very limited access to MacOS.
This thread might help you out if the standard mex setup doesn't work for you. It looks like you need to install an external tool if you want to compile Fortran, see the system requirements.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Fortran with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!