call fortran code from matlab

11 次查看(过去 30 天)
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Fortran with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by