Error when running a mex function: 'A dynamic link library (DLL) initialization routine failed.'

4 ビュー (過去 30 日間)
Vipul Pai Raikar
Vipul Pai Raikar 2018 年 8 月 14 日
コメント済み: James Tursa 2018 年 8 月 15 日
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.

回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by