Hi Running build_matlab I got various error messages: Compiling mjdgges... gcc: C:DOCUME~1SculptorLOCALS~1Tempmjdgges.obj: No such file or directory gcc: C:Program FilesMATLAB_SV71/extern/lib/win32/microsoft/libmwlapack.lib: No such file or directory gcc: C:\Program Files\MATLAB_SV71\extern\lib\win32\microsoft\libmwblas.lib: No such file or directory Workarounds: 1st: I had to edit MEX.PL and set explicitly $target_name = "c:/TEMP/$FILENAME.obj"; because I could not make it to resolve implicit paths when using gcc Do you have any alternative suggestions? the 2nd: gcc: C:Program FilesMATLAB_SV71/extern/lib/win32/microsoft/libmwlapack.lib: No such file or directory can be resolved if we replace current line 22 in build_matlab MATLAB_PATH = matlabroot; with MATLAB_PATH = regexprep(matlabroot,'\\','/') which should do nothing on Linux. Shall I commit that change? the 3rd: the libmwblas.lib library does not exist on my machine so I had to take it out from LINKFLAGSPOST in mexopts.bat Best regards George Perendia ----- Original Message -----