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

2 visualizzazioni (ultimi 30 giorni)
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!

Risposte (0)

Categorie

Scopri di più su MATLAB Compiler in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by