How to tell MATLAB where fortran compiler is?

3 views (last 30 days)
Tuan Pham
Tuan Pham on 10 Dec 2018
Edited: A.B. on 11 Dec 2018
I have Intel Parallel Studio XE 2018 Update 1, Visual Studio 2017, and Windows 10. In MATLAB I ran "mex -setup FORTRAN" or "mex -setup -v FORTRAN", MATLAB couldn't file IFORT_COMPILER18. There was IFORT_COMPILER18 with value C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2018.1.156\windows\. What should I do so that MATLAB can recognize IFORT_COMPILER18?

Answers (1)

A.B. on 11 Dec 2018
Edited: A.B. on 11 Dec 2018
This incompatibility is actually very annoying. There is always a lag of one year between the compatible versions of the two software. For someone who is trying to stay uptodate on both software, MATLAB-Intel(Fortran) compatibility can never happen. (update: this was supposed to be a sympathizing comment on the question, not an answer. sorry for the confusion)
Tuan Pham
Tuan Pham on 11 Dec 2018
With Intel Parallel Studios XE for Fortran 2017 installed, mex found it. The problem is solved. Thanks.

Sign in to comment.


Find more on Fortran with MATLAB in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!