MATLAB Answers

0

Error using images.internal.morphmex

Asked by Anthony Arteaga on 19 Aug 2019
Latest activity Answered by Subhadeep Koley on 22 Aug 2019
Im getting this error message when using the strel function.
Am I missing software? How can download the package I need?
Error using images.internal.morphmex
Invalid MEX-file
'/Applications/MATLAB_R2019a.app/toolbox/images/images/+images/+internal/morphmex.mexmaci64':
dlopen(/Applications/MATLAB_R2019a.app/toolbox/images/images/+images/+internal/morphmex.mexmaci64,
6): Library not loaded: @rpath/libcudart.10.0.dylib
Referenced from:
/Applications/MATLAB_R2019a.app/bin/maci64/libopencv_core.3.4.0.dylib
Reason: no suitable image found. Did find:
/Applications/MATLAB_R2019a.app/bin/maci64/libcudart.10.0.dylib:
code signature invalid for
'/Applications/MATLAB_R2019a.app/bin/maci64/libcudart.10.0.dylib'
/Applications/MATLAB_R2019a.app/bin/maci64/./libcudart.10.0.dylib:
code signature invalid for
'/Applications/MATLAB_R2019a.app/bin/maci64/./libcudart.10.0.dylib'
/Applications/MATLAB_R2019a.app/toolbox/images/images/+images/+internal/../../../../../bin/maci64/libcudart.10.0.dylib:
code signature invalid for
'/Applications/MATLAB_R2019a.app/toolbox/images/images/+images/+internal/../../../../../bin/maci64/libcudart.10.0.dylib'
/Applications/MATLAB_R2019a.app/bin/maci64/libcudart.10.0.dylib:
code signature invalid for
'/Applications/MATLAB_R2019a.app/bin/maci64/libcudart.10.0.dylib'
/Applications/MATLAB_R2019a.app/bin/maci64/./libcudart.10.0.dylib:
code signature invalid for
'/Applications/MATLAB_R2019a.app/bin/maci64/./libcudart.10.0.dylib'
/Applications/MATLAB_R2019a.app/Contents/MacOS/../../bin/maci64/libcudart.10.0.dylib:
code signature invalid for
'/Applications/MATLAB_R2019a.app/Contents/MacOS/../../bin/maci64/libcudart.10.0.dylib'
Error in images.internal.morphop (line 101)
B = images.internal.morphmex(ocvMethod, B,
logical(nhood), zeros(size(nhood)), unpacked_M);
Error in imdilate (line 96)
B =
images.internal.morphop(A,se,'dilate',mfilename,varargin{:});
Error in strel>MakeDiskStrel (line 1109)
nhood = imdilate(1, se.decomposition, 'full');
Error in strel (line 211)
se = MakeDiskStrel(params{:});
Error in task_8 (line 1)
se=strel('disk',20);

  0 Comments

Sign in to comment.

Tags

1 Answer

Answer by Subhadeep Koley on 22 Aug 2019

I suspect you might have to install a Microsoft Runtime Library from here and restart MATLAB.
Also, you can refer to a similar question here.

  0 Comments

Sign in to comment.