How to use FORTRAN program in MATLAB

3 visualizaciones (últimos 30 días)
MANJEET MOR
MANJEET MOR el 8 de Mzo. de 2020
Comentada: dpb el 8 de Mzo. de 2020
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 comentario
dpb
dpb el 8 de Mzo. de 2020
'Pends on what you mean/what you're trying to do and what the codes inputs/outputs are...
Need more info...

Iniciar sesión para comentar.

Respuestas (1)

Jacob Wood
Jacob Wood el 8 de Mzo. de 2020
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 comentario
dpb
dpb el 8 de Mzo. de 2020
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.

Iniciar sesión para comentar.

Categorías

Más información sobre Fortran with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by