A puzzle for student using Fortran compiler through mex in Matlab
조회 수: 1 (최근 30일)
이전 댓글 표시
So I need to configure MEX for compiling Fortran.
However, Mathworks require me to install Intel Parallel Studio XE 2020 (or 2019), which is no longer open to students for free.
Thus, I turn to install the Intel OneAPI Toolkit. With it, I can compile my Fortran code in Microsoft Visual Studio 2017. But Matlab cannot recognize this Fortran compiler!
So now, what else can I do?
Thanks for your help!
Basic information:
Windows system,
Matlab R2020b
Microsoft Visual Studio 2017
Intel OneAPI Toolkit
댓글 수: 0
답변 (1개)
Yash
2024년 1월 19일
Hi Hemin,
MathWorks has updated their support to include Intel oneAPI compilers in the newer versions of MATLAB. For an exhaustive list of compilers supported in the latest MATLAB release, please visit: https://www.mathworks.com/support/requirements/supported-compilers.html
Your current version, MATLAB R2020b, only supports Intel Parallel Studio XE for Fortran compilation. There appears to be no available workaround for utilizing Intel OneAPI with MATLAB R2020b, as it is not listed among the supported compilers in the official documentation. You can view the details here: https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/system-requirements-release-2020b-supported-compilers.pdf
Support for Intel oneAPI began with MATLAB R2022b. To utilize Intel oneAPI, it is recommended to update your MATLAB to the latest release.
For information on compilers supported in previous versions of MATLAB, you can visit: https://www.mathworks.com/support/requirements/previous-releases.html
Hope this helps you in resolving the issue.
댓글 수: 0
참고 항목
카테고리
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!