www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@xregdesign/ResetConstraints.m
function des=ResetConstraints(des) % RESETCONSTRAINTS delete design constraints indices % % D=RESETCONSTRAINTS(D) empties the design constraints indices % in D. % % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. % Created 12/6/2000 if ~isempty(des.constraints) des.constraints = reset(des.constraints); % indicator to make sure they are recalced before doing anything des.candstate = des.candstate+1; end