How to use FORTRAN program in MATLAB

조회 수: 3 (최근 30일)
MANJEET MOR
MANJEET MOR 2020년 3월 8일
댓글: dpb 2020년 3월 8일
Hello,
I have a simple FORTRAN code.
Please help me how I can execute it using MATLAB.
I am new to MATLAB. Please help me.
  댓글 수: 1
dpb
dpb 2020년 3월 8일
'Pends on what you mean/what you're trying to do and what the codes inputs/outputs are...
Need more info...

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

답변 (1개)

Jacob Wood
Jacob Wood 2020년 3월 8일
You can use Matlab to execute sytem commands on your machine. If you can run the fortran program from the command line, you can run it with system() https://www.mathworks.com/help/matlab/ref/system.html
  댓글 수: 1
dpb
dpb 2020년 3월 8일
Can dispatch it, anyways, yes.
If it needs inputs, then it's still an open question depending upon where it does/can get those from and how.

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

카테고리

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