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

    function paste(nd,data)
%PASTE Paste data to a node
%
%  PASTE(NODE,DATA) pastes the given data into the node.

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


pT = getdata(nd);
cgb = cgbrowser;
d = cgb.getViewData(guid(nd));
if pT.getNumAxes==1
    d.Handles.Editor1D.paste;
else
    d.Handles.Editor2D.paste;
end