I’ve been given a project to run on MATLAB R2011a. As there are several .c files in there – I need to set up GCC as the MEX compiler for that project. However, I cannot seem to find any explanation as to how to set it up. I’ve tried a script program called gnumex – but it failed (probably set up for an older version of MATLAB).
Any idea how to set it up?
In Matlab 2011b, just compile and link directly in mingw64 or cygwin environment.
Put this makefile on the source code directory and
make. No dll files conversion needed.