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일

0 개 추천

If the code is pretty simple..convert the Fortran code to MATLAB and use....else you should explore the option of mex files.

댓글 수: 3

Hassan ELSahely
Hassan ELSahely 2019년 2월 4일
Thanks for responding.. but my code is not that simple. Thus, could u show the steps required by a simple code example please. If so, I would be so thankful for your help :)
mani maniabadi
mani maniabadi 2020년 3월 16일
you must use fortran mex file. in this way, matlab call fortran exacutable file.

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Fortran with MATLAB에 대해 자세히 알아보기

질문:

2019년 2월 1일

댓글:

2020년 3월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by