MATLAB 2017a has changed fileparts number of output arguments to 3 instead of 4.
You might consider changing this in hdrvdp (line 172) : [pathstr, name, ext, versn] = fileparts(mfilename( 'fullpath' ));
to [pathstr, name, ext] = fileparts(mfilename( 'fullpath' ));