function closeViewer(thisMsg)
%  close
%
%  Close the viewer that displays this message.

%  Copyright 2008-2011 The MathWorks, Inc.

  viewer = DAStudio.DiagViewer.findInstance(thisMsg.ViewerName);
  viewer.close();
   
end