configuration of lapack and blas in matlab

12 ビュー (過去 30 日間)
Abeera Tariq
Abeera Tariq 2015 年 6 月 15 日
回答済み: James Tursa 2015 年 6 月 16 日
I want to use Matlab for mex files using lapack or blas library.. I have no idea how to configure matlab for blas or lapack
  2 件のコメント
Geoff Hayes
Geoff Hayes 2015 年 6 月 16 日
Abeera Tariq
Abeera Tariq 2015 年 6 月 16 日
No, I just read this link.. Where can I find the lapack and blas. can you give me link for that?

サインインしてコメントする。

採用された回答

James Tursa
James Tursa 2015 年 6 月 16 日
MATLAB ships with BLAS and LAPACK libraries. E.g., on Windows for 64-bit Microsoft compilation, you can typically find them here:
lib_blas = [matlabroot '\extern\lib\win64\microsoft\libmwblas.lib']
lib_lapack = [matlabroot '\extern\lib\win64\microsoft\libmwlapack.lib']
To link your code with these, you can just do this:
cfilename = 'my_mex_name.c';
mex(cfilename,lib_blas,lib_lapack);

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeResizing and Reshaping Matrices についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by