Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
Re: can not run mex function
Posted:
Feb 22, 2013 6:58 PM
|
|
"ammar al jodah" wrote in message <kg8l1c$775$1@newscl01ah.mathworks.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')
James Tursa
|
|
|
|