www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgnormnode/paste.m
function paste(nd,data) % PASTE Paste data into a table % % PASTE(NODE,DATA) Pastes the given data into the currently % selected region of the table of the currently selected node. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. cgb=cgbrowser; d=cgb.getViewData(guid(nd)); tp = d.Handles.TablePane; pane = tp(1); if ~pane.canPaste & length(tp)>1 % two tables visible. try the other one pane = tp(2); end pane.paste;