"Wajahat" wrote in message <email@example.com>... > Hi > I want to compile a a mex file with GCC in Window. I have generated mexopts with gnumex. when I try to compile a mex file, I get the following error: > > C:\PROGRA~2\MATLAB\R2012A\BIN\MEX.PL: Error: Could not find specified options file > 'mexopts.bat' > I have generated the mex file in the gnumex directory and then also copied it to the "MEX.PL" directory, still getting the same error. > > Any help on this? > > Best Regards > Wajahat
Is it possible to set gcc using mex -setup coomand after installing gcc in your machine?