Error Using Determinant Function

조회 수: 9 (최근 30일)
Michaela Maxwell
Michaela Maxwell 2017년 10월 18일
편집: Arvind Narayanan 2017년 10월 25일
Upon attempting to use Matlab's built in command to find the determinant of a matrix, I received the following error message.
Error using det LAPACK loading error: mkl.dll: The parameter is incorrect.
This was quite puzzling as I was simply trying to take the determinant of a 3x3 matrix, almost identical to the one given in the example of how to correctly use the det command. I cannot find anything anywhere to explain why you would get this LAPACK error. Any help is appreciated.
  댓글 수: 1
Nicolas Schmit
Nicolas Schmit 2017년 10월 18일
Could you please share the code that produces the error.

댓글을 달려면 로그인하십시오.

답변 (1개)

Arvind Narayanan
Arvind Narayanan 2017년 10월 25일
편집: Arvind Narayanan 2017년 10월 25일
By default, MATLAB should be using Intel MKL for all linear algebra operations. Your MKL library should be located at matlabroot\bin\arch\mkl.dll.
You can try the following as a potential fix:-
- Verify that the file "mkl.dll" exists in matlabroot\bin\arch, where matlabroot is your root folder, and arch corresponds with the architecture of your system.
- Set the values of both the LAPACK_VERSION and BLAS_VERSION environment variables to "mkl.dll" (without the quotation marks).
- Restart MATLAB and see if you still experience those errors.

카테고리

Help CenterFile Exchange에서 Matrix Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by