www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@conbase/addInputFactors.m

    function con = addInputFactors(con, cif)
%ADDINPUTFACTORS Add input factors to a constraint
%
%  CON = ADDINPUTFACTORS(CON, CIF) adds the given input factors, CIF, to
%  the constraint CON. These will inactive inputs.
%
%  See also CONBASE, CONBASE/SETMATCHEDFACTORS, CONBASE/SETACTIVEINDICES.

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

con.InputFactors = [con.InputFactors, cif];

%------------------------------------------------------------------------------|
% EOF
%------------------------------------------------------------------------------|