The specified module could not be found error when using the backslash operator!

Hello, I'm running MATLAB 2014a 64xbit and I get an error message pop up every time I try and use the backslash operator (\) in my funtions. this is the exact error
BLAS loading error:
mkl_custom.dll: The specified module could not be found.
and then it'll tell me where the error is for example
Error in PS6Q4 (line 9)
B=(A'*A)\(A'*y)
This error appears for all my functions which this operator is included, this is the m-file for that specific case above.
function PS6Q4
x=[1.14 5.62 0.31 2.21 3.54 2.87]';
y=[3.40 66.2 0.43 8.95 32.8 19.4]';
A=[x.^2 x]
B=(A'*A)\(A'*y)
end
If someone can please help me with a solution to this, that would be much appreciated!

댓글 수: 2

-------- | | | | | | | | | | UPDATE | | | | | | | | | | --------
I have found a very simple solution to this issue, I'll upload steps for anyone else who will ever encounter this issue.
Step 1 - Click the Start button, go to the Settings menu, and select Control Panel.
Step 2 - On the Control Panel menu, select System.
Step 3 - In the System Properties dialog box, click the Advanced tab.
Step 4 - On the Advanced panel, click the Environment Variables button.
Step 5 - In the Environment Variables dialog box, click the New button in the User variables section.
Step 6 - In the New User Variable dialog box, enter the name of the variable as BLAS_VERSION and set the value of the variable to the name of the MKL library: mkl.dll .
Here is a link to a pdf with instructions on how to do this as well (page 10-40) http://www.mn.uio.no/astro/english/services/it/help/mathematics/matlab/rn.pdf
Deleting the Environment Variable "BLAS_VERSION" (if defined) could solve the issue? If not defined, MATLAB will just use the library that's included in the software package.

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

질문:

2014년 3월 8일

댓글:

2018년 9월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by