.Warning: You are using gcc version '5.4.0'. The version of gcc is not supported. The version currently supported is '4.9.x'.

8 次查看(过去 30 天)
.Warning: You are using gcc version '5.4.0'. The version of gcc is not supported. The version currently supported with MEX is '4.9.x'. Linux, Matlab 2017b. How to solve the problem?? What to install?

回答(1 个)

lokender Rawat
lokender Rawat 2018-2-13
Since you have a higher version of gcc which is currently not supported in MATLAB R2017b, you will have to install GCC C/C++ 4.9 or higher versions till GCC 5.3 for it to be able to run the MEX. You can check the list of supported compatible compilers https://in.mathworks.com/support/compilers.html

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by