Error when running a mex function: 'A dynamic link library (DLL) initialization routine failed.'
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have some C/C++ code that is compiled to mex and getting it to run in Matlab (2017a and 2018a) is a complete hit or miss. The error is 'A dynamic link library (DLL) initialization routine failed.' I have run dependancy walker on this in multiple ways and fail to recognize what the issue is. As I mentioned, it works some times and doesn't on other occasions. Currently, my only guess is to restart Matlab to the point where it works, or restart the system towards the same effect.
Any help will be appreciated. I have scoured the internet for solutions as to how to identify the issue and mitigate it.
1 Commento
Risposte (0)
Vedere anche
Categorie
Scopri di più su MATLAB Compiler in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!