www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@contwostage/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: CONTWOSTAGE/GLOBALCLASSES.

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


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

clocal = getlocal(c);
if nFactors(clocal)>1
    list(2).Name  = 'Ellipsoid';
    list(2).Class = 'conellipsoid';
end