Why do I receive "MATLAB: binder.loadFailure; LAPACK load error"

2 Ansichten (letzte 30 Tage)
中孚
中孚 am 4 Sep. 2023
Beantwortet: Aniket am 4 Okt. 2024
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"

Antworten (1)

Aniket
Aniket am 4 Okt. 2024
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.
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.

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by