Mex cannot find mwblas?
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Error using mex
MEX cannot find library 'mwblas' specified with the -l option.
MEX looks for a file with one of the names:
libmwblas.lib
mwblas.lib
Please specify the path to this library with the -L option.
Has anyone seen this before?
I'm trying to run vl_compilenn from a neural net pack, and I get this when I compile. Any ideas?
2 Kommentare
Antworten (2)
Walter Roberson
am 22 Nov. 2015
Did you use the structure shown at http://www.mathworks.com/help/matlab/matlab_external/calling-lapack-and-blas-functions-from-mex-files.html ?
1 Kommentar
Yuanlong Zhang
am 26 Nov. 2018
Thia error occurs when you try to use libmwblas.dll with a .cpp file, while everything is correct with .c file. Just try
mex '-LC:\Program Files\MATLAB\R2017b\extern\lib\win64\microsoft' -lmwblas your_file.cpp
0 Kommentare
Siehe auch
Kategorien
Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!