Mexing problem (gcc compiler version 4.9.x needed)

Hi,
I am trying to run an old (2010) MATLAB package with C codes in it, and I am getting below warning while trying to mex the C functions. Although it is just a warning and it is reported that MEX completed successfully, in fact the C codes are not compiled (as expected), and so I get an error when I try calling the C functions. Is there a way to get over this problem without changing the gcc version on the server?
MEX completed successfully.
Building with 'gcc'.
Warning: You are using gcc version '5.3.1-6)'. The version of gcc is not supported. The version currently supported with MEX is '4.9.x'. For a list of currently supported compilers see:
http://www.mathworks.com/support/compilers/current_release.
Thanks!

Antworten (1)

ahmed nebli
ahmed nebli am 5 Sep. 2018

0 Stimmen

can u update the gcc, or try to find anothor tool for mexing files

Kategorien

Mehr zu MATLAB Compiler finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 4 Sep. 2018

Beantwortet:

am 5 Sep. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by