www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgdatasetnode/paste.m

    function paste(D,data)
% cgdatasetnode/paste method

%  Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc.


if isnumeric(data)
   CGBH = cgbrowser;
   if CGBH.GuiExists
      d=CGBH.getViewData;
      pN = CGBH.CurrentNode;
      d.pD = pN.getdata;
      
      page = d.ViewInfo(d.currentviewinfo);
      if ~isempty(page.paste)
         feval(page.paste,d,data);
      end
   end
end