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.

댓글을 달려면 로그인하십시오.

추가 답변 (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