Why am I getting an error saying "CONCRT140.dll' is missing when using Image Processing Toolbox?

When I try to run to use a function from the Image Processing Toolbox, I am getting the following error message in MATLAB:
Error using images.internal.morphmex
Invalid MEX-file '<file:///C:/Program C:\Program> Files\MATLAB\R2018b\toolbox\images\images\+images\+internal\morphmex.mexw64':
Missing dependent shared libraries:
'CONCRT140.dll' required by '<file:///C:/Program C:\Program> Files\MATLAB\R2018b/bin/win64\opencv_core340.dll-><file:///C:/Program C:\Program>
Files\MATLAB\R2018b/bin/win64\libmwmorphop_ocv.dll-><file:///C:/Program C:\Program>
Files\MATLAB\R2018b\toolbox\images\images\+images\+internal\morphmex.mexw64'.
Error in images.internal.morphop (line 101)
B = images.internal.morphmex(ocvMethod, B, logical(nhood), zeros(size(nhood)), unpacked_M);
Error in imerode (line 87)
B = images.internal.morphop(A,se,'erode',mfilename,varargin{:});

 채택된 답변

The error message indicates that CONCRT140.dll is missing from your system.
Installing the run-time components from the following link should resolve this issue:
<https://www.microsoft.com/en-us/download/details.aspx?id=48145 https://www.microsoft.com/en-us/download/details.aspx?id=48145 >

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by