Error using imfilter: imfilter_mex.mexw64

2 views (last 30 days)
Error using Settings
Undefined function or variable 'matlab.internal.getSettingsRoot'.
Error in iptgetpref (line 22)
s = Settings;
Error in imfilter>filterPartOrWhole (line 331)
result = imfilter_mex(a, outSize, h, nonzero_h,...
Error in imfilter (line 175)
b = filterPartOrWhole(a, finalSize, h, pad, sameSize, convMode);
Invalid MEX-file 'C:\Program Files\MATLAB\R2013b\toolbox\images\images\private\imfilter_mex.mexw64': The specified module could not be found. Error in imfilter>filterPartOrWhole (line 331) result = imfilter_mex(a, outSize, h, nonzero_h,... Error in imfilter (line 175) b = filterPartOrWhole(a, finalSize, h, pad, sameSize, convMode);
How do I work around this error? I reinstalled the image processing toolbox, but it still does not work.

Accepted Answer

Sean de Wolski
Sean de Wolski on 4 Oct 2013
It sounds like your path has been been corrupted. Please run the following commands to restore it:
restoredefaultpath;
rehash toolboxcache;
If it works after these two commands, then run:
savepath;

More Answers (1)

Jeniffer Ramos
Jeniffer Ramos on 26 Apr 2018
It does not work with me.
  1 Comment
Jan
Jan on 28 May 2018
@Jeniffer: This is not an answer to the question. Please open a new thread and explain your problem with details.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!