BLAS Loading Error?

3 Ansichten (letzte 30 Tage)
Jennifer Garrison
Jennifer Garrison am 2 Okt. 2019
Beantwortet: Pranjal Kaura am 28 Jul. 2021
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.
>>

Antworten (1)

Pranjal Kaura
Pranjal Kaura am 28 Jul. 2021
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.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by