Add some Fortran subroutines to my MATLAB code

조회 수: 1 (최근 30일)
ric1321
ric1321 2017년 2월 9일
댓글: Jan 2017년 2월 9일
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.

채택된 답변

Jan
Jan 2017년 2월 9일
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.

추가 답변 (1개)

ric1321
ric1321 2017년 2월 9일
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
Jan
Jan 2017년 2월 9일
No. Matlab works only with the specified set of compatible compilers. I'm using a C compiler instead. I know, C is not Fortran... :-(

댓글을 달려면 로그인하십시오.

카테고리

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