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!