Can I create MEX file with other than Gcc 6.3.x compiler

2 ビュー (過去 30 日間)
Hafiz Luqman
Hafiz Luqman 2018 年 10 月 30 日
回答済み: Harry Vancao 2018 年 11 月 5 日
I see in documentation, MATLAB support GCC6.3.x version on Linux. I have installed 6.5.0. I want to ask, can It work or it should be only 6.3 ?

採用された回答

Harry Vancao
Harry Vancao 2018 年 11 月 5 日
Hi Hafiz,
I understand that you are currently interested in using GCC 6.5.0 with a MATLAB Release that only supports GCC 6.3.X. You should be able to use the newer version of GCC as your compiler without error.
However, MATLAB will throw a warning for the compiler mismatch. Please note, that we cannot guarantee that all functionality will behave as expected if you use the newer compiler so it is recommended that you use GCC 6.3.X

その他の回答 (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