Mex cannot find mwblas?
7 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
Walter Roberson
2015-11-22
Did you use the structure shown at http://www.mathworks.com/help/matlab/matlab_external/calling-lapack-and-blas-functions-from-mex-files.html ?
Yuanlong Zhang
2018-11-26
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Install Products 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!