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

    function con = setActiveIndices(con, ai)
%SETACTIVEINDICES Set the indices of the active factors for a constraint
%
%  CON = SETACTIVEINDICES(CON, AI)
%
%  For two-stage constraints, all global factors must be active. 
%
%  Resetting the active factors resets the local constraint and global
%  model but preserves their classes.
%
%  See also CONTWOSTAGE, 
%           CONBASE/GETACTIVEINDICES,
%           CONBASE/GETACTIVEFACTORS,
%           CONBASE/NACTIVEFACTORSALLOWED,
%           CONBASE/SETMATCHEDFACTORS.

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



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