Filter löschen
Filter löschen

Lapack and Blas on Matlab student version

6 Ansichten (letzte 30 Tage)
Jeena
Jeena am 20 Jun. 2013
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

Antworten (3)

Jeena
Jeena am 20 Jun. 2013
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 Kommentare
James Tursa
James Tursa am 20 Jun. 2013
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 am 20 Jun. 2013
MATLAB already leverages these libraries. Is there a reason you are trying to do this manually?

Melden Sie sich an, um zu kommentieren.


James Tursa
James Tursa am 20 Jun. 2013
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 am 20 Jun. 2013
Hi Jeena, MATLAB is identical regardless of the type of license (student or professional). Only the type and number of toolboxes vary.

Kategorien

Mehr zu Execution Speed 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!

Translated by