function B = loadobj(A)
%SCRIBEHGOBJ/LOADOBJ

%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.2 $  $Date: 2000/06/01 02:53:01 $

if strcmp(class(A),'scribehgobj')
   B = A;
else % object definition has changed
   % should check that this is really a v5.2 object
   A.Draggable = 1;
   A.DragConstraint = '';
   B = class(A,'scribehgobj');
end

% v5.2 object definition
%           Class: 'scribehgobj'
%        HGHandle: 139.0001
%          ObjBin: {[1x1 scribehandle]}
%     ObjSelected: 0
%      SavedState: {}

%    A.Class = 'scribehgobj';
%    A.HGHandle = [];
%    A.ObjBin = {};
%    A.ObjSelected = [];
%    A.Draggable = [];
%    A.DragConstraint = [];
%    A.SavedState = {};
%    A = class(A,'scribehgobj');
