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.

 Akzeptierte Antwort

KSSV
KSSV am 1 Feb. 2019
Bearbeitet: KSSV am 1 Feb. 2019

0 Stimmen

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

3 Kommentare

Hassan ELSahely
Hassan ELSahely am 4 Feb. 2019
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 am 16 Mär. 2020
you must use fortran mex file. in this way, matlab call fortran exacutable file.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Fortran with MATLAB finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by