How to use FORTRAN program in MATLAB

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