Add some Fortran subroutines to my MATLAB code

1 Ansicht (letzte 30 Tage)
ric1321
ric1321 am 9 Feb. 2017
Kommentiert: Jan am 9 Feb. 2017
Hi! I would like to add a Fortran subroutine to improve my MATLAB code speed (I have some big 'for' cycles which I can't parallelize). Do you guys know some good and clear guides to that? The official ones haven't helped me much yet and I have things a bit confused.

Akzeptierte Antwort

Jan
Jan am 9 Feb. 2017
I cannot guess, which "official" guides you mean. Then it would be a waste of time, when I mention them again. What about starting with one of the examples from the documentation and modifying it, until it matchs your needs? You can post, what you have tried so far and explain the occurring problems. Then helping is much easier than guessing, which details are confusing for you.

Weitere Antworten (1)

ric1321
ric1321 am 9 Feb. 2017
Ok, first issue: the compiler. It seems the only Fortran ones which work on MATLAB (ie the intel ones) are not free of charge. Any solution?
  1 Kommentar
Jan
Jan am 9 Feb. 2017
No. Matlab works only with the specified set of compatible compilers. I'm using a C compiler instead. I know, C is not Fortran... :-(

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Fortran with MATLAB finden Sie in Help 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