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

    function [list] = localclasses( c )
%LOCALCLASSES List of the classes that are available as local constraint models
%
%  LIST = LOCALCLASSES(C) is a structure array with fields 'Name' and
%  'Class'. This is the list of classes that can be used as the local part
%  of two stage boundary models.
%
%  See also GLOBALCLASSES.

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

list(1).Name  = 'Ellipsoid';
list(1).Class = 'conellipsoid';

list(2).Name  = 'Range';
list(2).Class = 'conrange';

list(3).Name  = 'Convex Hull';
list(3).Class = 'conconvexhull';

list(4).Name  = 'Star-shaped';
list(4).Class = 'constar';