www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgoppoint/copy.m

    function newop = copy(op,changes)
% [newop] = copy(op,changes)
%  op is cgoppoint to copy
%  changes indicate where new exprs have been created; matrix of [old new]

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



newop = op;
newop = mapptr(newop,changes(:,1),changes(:,2));