www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@conlinear/setMatchedFactors.m
function con = setMatchedFactors(con, cif, ai) %SETMATCHEDFACTORS Change the input factors for a linear constraint % % CON = SETMATCHEDFACTORS(CON, CIF, AI) % % See the CONBASE version for a full description. % % This method for CONLINEAR is to allow the Scale Factor to be updated. % % See also CONLINEAR, CONBASE/SETMATCHEDFACTORS. % Copyright 2005 The MathWorks, Inc. and Ford Global Technologies, Inc. % Set matched factors in the parent con.conbase = setMatchedFactors( con.conbase, cif, ai ); % Update the scale factor con = pUpdateScaleFactor( con ); %------------------------------------------------------------------------------| % EOF %------------------------------------------------------------------------------|