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

4 ビュー (過去 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 Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by