www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@conconvexhull/setActiveIndices.m
function con = setActiveIndices(con, ai) %SETACTIVEINDICES Set the indices of the active factors for a Convex Hull Constraint % % CON = SETACTIVEINDICES(CON, AI) % % This method will completely reset all the parameter information stored % in the Convex Hull Constraint. % % See also CONCONVEXHULL, % CONBASE/SETACTIVEINDICES, % CONBASE/GETACTIVEINDICES. % Copyright 2005 The MathWorks, Inc. % Set the active indices in the parent object con.conbase = setActiveIndices( con.conbase, ai ); % Reset the parameter con.A = []; con.b = []; con.CenterPoint = []; con.ScaleFactor = [];