www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtools/@cgbrowser/paste.m
function paste(h) %paste Execute paste operation % % paste(CGB) executes the paste action on the current node. % % See also copy, guiCopy. % Copyright 2000-2009 The MathWorks, Inc. and Ford Global Technologies, Inc. if h.GUIExists % Pull data from clipboard and pass to node for pasting D = mbcutils.Clipboard.paste(); if ~isempty(D) nd = h.SelNode; if ~isnull(nd) paste(nd.info,D); end end end