Why am I getting an error saying "CONCRT140.dll' is missing when using Image Processing Toolbox?
6 views (last 30 days)
Show older comments
MathWorks Support Team
on 17 Oct 2018
Answered: MathWorks Support Team
on 13 May 2019
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{:});
Accepted Answer
MathWorks Support Team
on 14 May 2019
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 Comments
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!