Issue with Matlab runtime 2023b: libmwlmgrimpl.dll failed with error: The specified procedure could not be found.
Afficher commentaires plus anciens
Hi, I compiled a Python package with MATLAB Compiler SDK 2023b. Everything works as expected on the computer where the package was compiled. My issue is with another computer where the MATLAB Runtime as been installed along with the compiled python package. I am using Python 3.11.
This is the error I am getting:
std::exception: Loading C:\Program Files\MATLAB\MATLAB Runtime\R2023b\bin\win64\matlab_startup_plugins\lmgrimpl\libmwlmgrimpl.dll failed with error: The specified procedure could not be found.
Now, I saw some other users with similar issues:
- https://www.mathworks.com/matlabcentral/answers/375270-why-does-my-matlab-compiler-standalone-application-fail-to-start-with-a-the-operating-system-cannot
- https://www.mathworks.com/matlabcentral/answers/373411-compiled-application-does-not-run-because-of-startup-plugin-libmwlmgrimpl-dll
My issue cannot be solved like solutions 1 and 2 as I do not have files named SSLEAY32.DLL and LIBEAY32.DLL in my system32 folder. I seem to stumble on something else.
The python code that will throw this error would be something like this:
import mypackage
MyPackage = mypackage.initialize() # this line throws the error
Now with the very limited message I am getting, I do not know what steps I should take to solve this. I am not admin on this computer and I can get IT support but through a ticket system which can take 1 to 2 day before getting a response. Before writing a ticket, I would like to list all the different possible issues with their solutions so I can get through them with IT when they get available.
Thanks in advance,
4 commentaires
Yuqiu Zhao
le 14 Déc 2023
I'm getting the same problem. Reinstallation does not work. I would appreciate any solution to the issue.
Roberto
le 14 Déc 2023
I'm also experiencing the same problem with a compiled app after having upgraded to MCR 2023b and having reinstalled it several times.
Now I went back to the previous MCR version 2023a that still works fine.
Yuqiu Zhao
le 15 Déc 2023
Thank you for sharing the information. I reinstalled 2022a, and that worked.
CJD
le 23 Fév 2024
Same problem for me. Went back to 2022a.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Python Package Integration dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!