Borrar filtros
Borrar filtros

A puzzle for student using Fortran compiler through mex in Matlab

1 visualización (últimos 30 días)
Hemin He
Hemin He el 8 de Mzo. de 2022
Respondida: Yash el 19 de En. de 2024
I try solving a nonliner equation system through PDFO, a package base on Fortran code.
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

Respuestas (1)

Yash
Yash el 19 de En. de 2024
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.

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by