Error when running a mex function: 'A dynamic link library (DLL) initialization routine failed.'
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!