"ammar al jodah" wrote in message <email@example.com>... > hello i have this error when want to compile c-file on MATLAB 2011b , i use WIN 7 64 bit, any help will be appreciated: > > >> mex sfun_time.c -lmwlapack -lmwblas > > C:\PROGRA~1\MATLAB\R2011B\BIN\MEX.PL: Error: Compile of 'sfun_time.c' failed. > Error using mex (line 206) Unable to complete successfully.
Try verbose mode to get a better idea of the failure:
mex -v sfun_time.c -lmwlapack -lmwblas
Also, you may need to include the explicit path+filename for the lapack and blas libraries. E.g., using the function form:
mex('-v','sfun_time.c','the full pathname & filename of mwlapack.lib','same for mwblas.lib')