call fortran code from matlab

11 visualizaciones (últimos 30 días)
Hassan ELSahely
Hassan ELSahely el 1 de Feb. de 2019
Comentada: mani maniabadi el 16 de Mzo. de 2020
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.

Respuesta aceptada

KSSV
KSSV el 1 de Feb. de 2019
Editada: KSSV el 1 de Feb. de 2019
If the code is pretty simple..convert the Fortran code to MATLAB and use....else you should explore the option of mex files.
  3 comentarios
mani maniabadi
mani maniabadi el 16 de Mzo. de 2020
you must use fortran mex file. in this way, matlab call fortran exacutable file.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by