Error using mex No supported compiler was found.

23 ビュー (過去 30 日間)
Pooneh Shah Malekpoor
Pooneh Shah Malekpoor 2021 年 10 月 28 日
編集済み: Pooneh Shah Malekpoor 2021 年 10 月 29 日
Hello
My matlab version is R2019b. I have visual studio 2017 with intel oneAPI 2021 installed. However, when I type the following, I get error:
Any guidance, especially from MatLab staff is highly appreciated as otherwise I have to code the program on my own in MatLab.
mex -setup FORTRAN
Error using mex
No supported compiler was found. For options, visit https://www.mathworks.com/support/compilers.

採用された回答

Bruno Luong
Bruno Luong 2021 年 10 月 28 日
  10 件のコメント
Bruno Luong
Bruno Luong 2021 年 10 月 29 日
"Looking for file 'C:\Program Files (x86)\Intel\oneAPI\compiler\2021.4.0\windows\bin\intel64\bin\intel64\ifort.exe' ...No."
You have to check where is the intel fortran compiler is installed on your system and adapt accordingly.
I don't have access to your system or never work with intel fortran, you have to figure out on your own.
Pooneh Shah Malekpoor
Pooneh Shah Malekpoor 2021 年 10 月 29 日
編集済み: Pooneh Shah Malekpoor 2021 年 10 月 29 日
I did!
Thank you!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by