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

    function cons=getconstrainttypes(obj)
%GECONSTRAINTTYPES
%
%  CONS=GETCONSTRAINTTYPES(OBJ)  returns a cell array
%  containing the constructor names for all of the known
%  constraint types.

%  Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc.



cons={
   'conlinear'
   'conellipsoid'
   'contable1'
   'contable2'
};