MATLAB 2018b is unable to load libmwimagesocv.dll when it is trying to use images.int​ernal.algk​means

1 次查看(过去 30 天)
I am using MATLAB 2018b x64. Everytime I am trying to use the K-means clustering, I am seeing the following error.
Error using images.internal.algkmeans
Can't load 'C:\Program Files\MATLAB\R2018b\bin\win64\libmwimagesocv.dll': The specified
module could not be found.
Could anyone please help me with the solution?

回答(1 个)

Rishabh Gupta
Rishabh Gupta 2019-1-15
编辑:Rishabh Gupta 2019-1-15
Hi Ranit,
This might be happening due to a licensing issue.
1. Please verify if the file is actually present in the location pointed to. For this stack trace, the file 'libmwimagesocv.dll' should be present in the location 'C:\Program Files\MATLAB\R2018b\bin\win64\'. If it is not present, reinstalling MATLAB might help.
2. Antivirus products may cause the dll to not be accessible from MATLAB. Try temporarily blocking anti-virus and rerunning the model.
3. Finally, this may also be due to a licensing issue. Double check if all the license numbers for products have been correctly entered.
For further assistance contact MathWorks Technical Support.
  1 个评论
Ranit Karmakar
Ranit Karmakar 2019-1-15
Hi Rishabh,
The file was in location and all the other solutions you mentioned were checked by me. However, none of them were causing the problem. It was an error because of the Visual Studion version. After installation of MS Visual Studio 2017, the problem got resolved.
Thank you for your support.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by