As an experiment it might be interesting to add something similar to
function varargout = close(varargin)
if ischar(varargin{1})
this is the case being reported
display appropriate information
else
[varargout{:}] = builtin('close', varargin{:} );
end
I certainly do not know, but I am wondering if somewhere the code is doing
close('all')