|
Hi all,
I have a code which is running really slow in Matlab (due to a long loop), so I thought I should run it in 'c' instead. However, when I enter
mcc -B sharedlib:libmyfilename filename.m
I get the following warning:
*****************
You are using gcc version "4.1.2". The version currently supported with Matlab compiler is "4.3.4". For a list of currently supported compilers see: http://......
*****************
At the moment, I'm using the uni's Linux machine with Matlab 2011b. How can I upgrade gcc version and do I need administrative privilege?
Also my main running file refers to several other scripts within the directory. Would this be a problem in compiling? (as I read in help: "functionality that cannot be recalled directly from the command line will not compile"). I think this issue can be resolved by putting all the scripts in one file instead of referring to them (?).
Many thanks,
Emma
|