BLAS Loading Error?

3 ビュー (過去 30 日間)
Jennifer Garrison
Jennifer Garrison 2019 年 10 月 2 日
回答済み: Pranjal Kaura 2021 年 7 月 28 日
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 Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by