MATLAB: Why these errors occurs

scipt as function

Attempt to execute SCRIPT wfilters as a function: C:\Program Files\MATLAB2\R2014b\toolbox\wavelet\wavelet\ja\wfilters.m Error in pravu1 (line 16) [Lo_D,Hi_D,Lo_R,Hi_R] = wfilters(type);

Best Answer

The directories whose paths end in \ja (like toolbox\wavelet\wavelet\ja)should not be on the MATLAB path and should not be your current directory. If they're on the MATLAB path, remove them from the path using the Path Tool. Make sure you Save the path after removing those directories from the path.
pathtool
Related Question