www.gusucode.com > signal 工具箱matlab源码程序 > signal/@filtgraph/@outport/setto.m

    function op = setto(Op,NodesAndPorts)
%SETTO Sets the input ports that accept output from this output port

%   Author(s): Roshan R Rammohan
%   Copyright 1988-2005 The MathWorks, Inc.

narginchk(1,2);

if nargin > 0
    op=Op;
end

if nargin > 1
%     op.to = copy(NodesAndPorts);
    op.to = NodesAndPorts;
end