www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@xregbdryroot/setInputFactors.m

    function broot = setInputFactors(broot, cif)
%SETINPUTFACTORS Set the input factors in a boundary tree
%
%  BROOT = SETINPUTFACTORS(BROOT, CIF) sets the input factors stored in the
%  boundary root node BROOT and updates all of the constraints in the
%  boundary tree with the new input factors, CIF.
%
%  See also XREGBDRYROOT, CONINPUTFACTOR.

%  Copyright 2005-2012 The MathWorks, Inc. and Ford Global Technologies, Inc.

% Store input factors in root node
broot.InputFactors = cif;

% Fix up the version stored at the end of the pointer
xregpointer( broot );

% Update children with new factor info
children( broot, @setInputFactors, cif );