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

2 vues (au cours des 30 derniers jours)
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?

Réponses (1)

Rishabh Gupta
Rishabh Gupta le 15 Jan 2019
Modifié(e) : Rishabh Gupta le 15 Jan 2019
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 commentaire
Ranit Karmakar
Ranit Karmakar le 15 Jan 2019
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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by