Fortran compiler for R2022B

조회 수: 24 (최근 30일)
Jason Climer
Jason Climer . 2023년 3월 10일
댓글: Jason Climer . 2023년 5월 11일
I am running MATLAB R2022B in Windows 11.
I looked at the supported compilers table ( and saw that Intel oneAPI 2021 for Fortran is the supported compiler. However, Intel oneAPI 2021 doesn't appear to be available on Intel's website. I downloaded the Intel Fortran Compiler ( and installed it sucessfully (I did install Microsoft Visual C++ 2022), however, when I run
mex -setup FORTRAN
MEX configured to use 'gfortran' for FORTRAN language compilation.
I get the error "Supported compiler not detected. For options, visit".
Any advice on how to proceed?
  댓글 수: 2
Jason Climer
Jason Climer 2023년 5월 11일
Hi Jian,
I found a pre-compliled version of the code I was working with that worked so I stopped digging into the problem. Please try Christopher's answer below and let me know if it works and I'll update my answer to the question.

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

답변 (1개)

Christopher McCausland
Christopher McCausland 2023년 3월 10일
Hi Jason,
I am not sure if this will help, however the Intel® Fortran Compiler Classic and Intel® Fortran Compiler can be downloaded here:
or here
Depending on what works better, the first option should work without issue. There has been reduced support for Intel Parallel Studio with R2022b, though I beleive this is due to the intel dropping Intel Parallel Studio support.
Hope this helps,


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