I am struggling with the problem of Matlab mex compile. It needs specific old version of gcc compiler 4.4.6, but in manager there is only 4.4 version. How could I specify it as 4.4.6, or is it possible?
Next I need to run it as gcc command. Currently my gcc command runs 4.7.2 version. How can I switch the gcc command to run the old version on a Linix Mint machine? Since installing only the compiler does not work for Matlab and it is calling the plain gcc command.