function domethod(A, method, varargin)
%HANDLE/DOMETHOD

%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.7 $  $Date: 2000/08/01 22:10:02 $

ud = getscribeobjectdata(A.HGHandle);
MLObj = ud.ObjectStore;
MLObj = feval(method, MLObj, varargin{:});

% writeback
ud.ObjectStore = MLObj;
setscribeobjectdata(A.HGHandle,ud);
