matlab cannot find other gcc versions (linux)

19 ビュー (過去 30 日間)
JJF
JJF 2017 年 5 月 6 日
回答済み: Sachin Kumar 2017 年 5 月 8 日
Hi,
My linux installation (antergos) comes with gcc/gfortran 6.3.1 but mex does not compile properly with this version which is not supported.
I also installed gcc-4.9,g++-4.9 and intel fortran ifort. I can compile and run successfully using
mex CXX='g++-4.9' file.cpp
mex FC='ifort' file.F
but when using
mex -setup
Matlab does not find gcc-4.9, or ifort... I tried making changes to mexopts.sh without effect.
Any help would be very welcome!

回答 (1 件)

Sachin Kumar
Sachin Kumar 2017 年 5 月 8 日

カテゴリ

Help Center および File ExchangeFortran with MATLAB についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by