Why do I receive "MATLAB: binder.loadFailure; LAPACK load error"
12 ビュー (過去 30 日間)
古いコメントを表示
The program written by App Designer has no error when running in MATLAB; Compile it, and at run time "MATLAB: binder.loadFailure; LAPACK load error"

0 件のコメント
回答 (1 件)
Aniket
2024 年 10 月 4 日
The error you are encountering seems to be because of multiple factors revolving around some missing/corrupt files, specially 'mkl.dll' file present at "matlab/bin/{glnxa64/win64/maci64}"
Firstly ensure that the OS you are using is officially supported by MathWorks. Using Virtual Machines/Emulators to run MATLAB can cause such issues.
To start with issue resolution, make sure the same versions of 'BLAS' & LAPACK libraries are used. You can check this by running below commands in MATLAB command prompt.
>> version -blas
>> version -lapack
If they are same, proceed with setting the environment variables for these libraries. To do so, you should set
BLAS_VERSION = mkl.dll
LAPACK_VERSION = mkl.dll
in Windows environment variables (Do not set to entire path like "C:\Program Files\MATLAB\R2021b\bin\win64\mkl.dll" since spaces in path can cause issues). If using Linux, you can use the 'export' command.
Restart MATLAB and your issue should be resolved.
You may also ensure that some Windows .dll file are up to date as mentioned in this MATLAB Answer: https://www.mathworks.com/matlabcentral/answers/375270-why-does-my-matlab-compiler-standalone-application-fail-to-start-with-a-the-operating-system-cannot
If none of these steps work, the issue might be related to the installation. You might want to reinstall MATLAB, preferably to newer version R2024b or contact MathWorks support team.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!