function dummy = close(sisodb)
%CLOSE  Close SISO Tool and dependencies.
%
%   See also SISOTOOL.

%   Author: P. Gahinet  
%   Copyright 1986-2000 The MathWorks, Inc.
%   $Revision: 1.2 $  $Date: 2000/06/14 20:22:12 $

dummy = []; % REVISIT: hack around method can't have zero output

SISOfig = double(sisodb.Figure);  % REVISIT: w/o double(), only a pointer->becomes invalid after deleting sisodb

% Destroy data kernel to trigger closing of all dependencies
delete(sisodb.LoopData);

% Clear main database
delete(sisodb);

% Delete HG figure
delete(SISOfig);

