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

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Write C Functions Callable from MATLAB (MEX Files) 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by