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 CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by