Fortran Compiler Windows 10, 64bit, R2019a
조회 수: 11 (최근 30일)
이전 댓글 표시
Hello World,
my goal is to run some Fortran codes in Matlab. I found out that i need the mex function and some compiler.
So i download the MATLAB Support for MinGW-w64 C/C++ Compiler and installed him, but the fortran compiler dosen't work. C and C++ is running.
In the comments from the download link
https://de.mathworks.com/matlabcentral/fileexchange/52848-matlab-support-for-mingw-w64-c-c-compiler
there are many other people whit the same problem.
Can anyone help me?
댓글 수: 3
Walter Roberson
2019년 5월 15일
Mingw is not a Fortran compiler.
The only supported Fortran compilers for windows in r2019a are a couple of the Intel Parallel XE versions. Those are free for student use and otherwise expensive.
Some people manage to get g77 or gfortran working but they are not supported.
채택된 답변
Waldemar Nidens
2019년 5월 15일
댓글 수: 2
Walter Roberson
2019년 5월 15일
One point in the small print of the requirements for the Intel XE support is that you also need one of the VS compilers as a base: you cannot layer XE compilers on MinGW.
Once those layers are installed then I think it is
mex -v -setup fortran
Walter Roberson
2019년 5월 15일
"Intel compilers require that Microsoft Visual Studio 2015 or 2017 also be installed on your system."
추가 답변 (1개)
Waldemar Nidens
2019년 5월 20일
댓글 수: 1
Priyank Godhat
2020년 5월 13일
편집: Priyank Godhat
2020년 5월 13일
can you please elaborate the last sentence?
참고 항목
카테고리
Help Center 및 File Exchange에서 Fortran with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!