Lapack and Blas on Matlab student version

10 ビュー (過去 30 日間)
Jeena
Jeena 2013 年 6 月 20 日
Hi all
I have read that Matlab uses the optimized set of functions from Lapack and Blas for mathematical computations. Do Lapack and Blas functions included in the student version of Matlab also.
Is there some way to check which version of Lapack or Blas being used in Matlab?
Thanks, Jeena

回答 (3 件)

Jeena
Jeena 2013 年 6 月 20 日
Hi all,
Thanks for the comments,
I types the following two lines
version -blas
version -lapack
and it showed the version of Intel MKL being used by Matlab ... so MKL is incorporated in my version of Matlab...
So if I need to call a function from lapack, say the function to find inverse of a matrix , can I call the function directly through Matlab workspace ?? Do I need to create a mex file to access the functions from lapack and blas ?
Thanks, Jeena
  2 件のコメント
James Tursa
James Tursa 2013 年 6 月 20 日
MATLAB functions that depend on LAPACK and BLAS functions will call them automatically, of course. If you want to call them directly, you could write a mex function and link the mex function to the LAPACK and BLAS libraries as you suggest. Another option is to use someone else's mex routine for doing this, e.g. you can try this code from Tim Toolan:
The above code may not be the most efficient (e.g. it may make data copies) but it is a good tool for exploring.
Shashank Prasanna
Shashank Prasanna 2013 年 6 月 20 日
MATLAB already leverages these libraries. Is there a reason you are trying to do this manually?

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


James Tursa
James Tursa 2013 年 6 月 20 日
LAPACK and BLAS dependency (e.g., for matrix multiplication etc) would be the same for the student version. The version of LAPACK and BLAS being used was at one time listed in the Release Notes, but I am having a hard time finding it at the moment.

Shashank Prasanna
Shashank Prasanna 2013 年 6 月 20 日
Hi Jeena, MATLAB is identical regardless of the type of license (student or professional). Only the type and number of toolboxes vary.

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by