How I can solve the problem of compiling C code in Ubuntu 15 with Matlab R2015a?

2 次查看(过去 30 天)
When I go to compile a .c file with the mex command in Ubuntu 15 and Matlab R2015a , I get in the command window the following message and I can not compile:
You are using gcc version '5.2.1'. The version of gcc is not supported. The version currently supported with MEX is '4.7.x'.
How could I solve this problem? I'm starting in Linux...
Thank you!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by