function delete(hndl)
%HANDLE/DELETE

%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.9 $  $Date: 2000/08/01 22:09:58 $
%   J.H. Roh & B.A. Jones 4-25-97.

h=hndl.HGHandle;
if ishandle(h)
    ud = getscribeobjectdata(h);
    MLObj = ud.ObjectStore;
    delete(MLObj);
    delete(hndl.HGHandle);
end

    

