call fortran code from matlab

11 ビュー (過去 30 日間)
Hassan ELSahely
Hassan ELSahely 2019 年 2 月 1 日
コメント済み: mani maniabadi 2020 年 3 月 16 日
I have a matlab code to compute some variables. i have another fortran code that computes another variable. I wanna make matlab open fortran and run it then takes the output as an initial value to compute another variables. can somebody help? and thank you in advance.

採用された回答

KSSV
KSSV 2019 年 2 月 1 日
編集済み: KSSV 2019 年 2 月 1 日
If the code is pretty simple..convert the Fortran code to MATLAB and use....else you should explore the option of mex files.
  3 件のコメント
mani maniabadi
mani maniabadi 2020 年 3 月 16 日
you must use fortran mex file. in this way, matlab call fortran exacutable file.
mani maniabadi
mani maniabadi 2020 年 3 月 16 日

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFortran with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by