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

    function cif = setMin(cif, mn)
%SETMIN Set the minimum expected values for constraint input factors
%
%  CIF = SETMIN(CIF, MN)
%
%  See also CONBASE, CONINPUTFACTOR.

%  Copyright 2004-2005 The MathWorks, Inc.

% Ensure that we have a row
mn = mn(:)';

% Check the size
if isnumeric( mn ) && length( mn ) == length( cif ),
    cif.Min = mn;
else
    error(message('mbc:coninputfactor:InvalidArguments13'));
end

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