BLAS Loading Error?

3 次查看(过去 30 天)
Jennifer Garrison
Jennifer Garrison 2019-10-2
I have successfuly ran this code in the past:
a=2.42;
v1= [-a/2; -sqrt(3)*a/2];
v2= [a; 0];
[x,y] = meshgrid(-15:15,-15:15);
lattice=[v1,v2]*[x(:)';y(:)'];
Now that I want to reuse this file, matlab gives a BLAS laoding error about line 6.
Error using *
BLAS loading error:
mkl.dll: The specified module could not be found
Error in latticecodehw3p3 (line 6)
lattice=[v1,v2]*[x(:)';y(:)'];
This is the second time that this has happened to me with matlab (first time was a different file) and last time I had to reinstall matlab to fix it. Obviously I do not want to keep reinstalling matlab everytime I want to run an old code. Also, the code runs perfectly fine in matlab online.
>>

回答(1 个)

Pranjal Kaura
Pranjal Kaura 2021-7-28
Hi Jennifer,
If you're using MATLAB version 2014a or before, refer the following bug report for more information as well as a work around to solve the problem.
If you're using MATLAB version 2018b or newer, refer the following bug report for more information as well as a work around to solve the problem.
For more information, you can refer to this answer.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by