www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@coninputfactor/setMax.m
function cif = setMax(cif, mx) %SETMIN Set the maximum expected values for constraint input factors % % CIF = SETMIN(CIF, MX) % % See also CONBASE, CONINPUTFACTOR. % Copyright 2004-2005 The MathWorks, Inc. % Ensure that we have a row mx = mx(:)'; % Check the size if isnumeric( mx ) && length( mx ) == length( cif ), cif.Max = mx; else error(message('mbc:coninputfactor:InvalidArguments12')); end %------------------------------------------------------------------------------| % EOF %------------------------------------------------------------------------------|