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

    function [con, fitOptions, ok,HasChanged] = guiTypeAndFactorsChooser(con, fitOptions, classes, varargin)
%GUITYPEANDFACTORSCHOOSER Dialog for selecting a constraint type and active factors
%
%  [OBJ, OK,HASCHANGED] = GUITYPEANDFACTORSCHOOSER(OBJ, CLASSES, VARARGIN)
%
%  This GUI allows the user to choose the class of the constraint and also
%  to choose which factors should be active.
%
%  Example:
%    classes = {@conlinear, @contable1, @contable2};
%    con = guiTypeAndFactorsChooser( tExample( contable1 ), classes )
%
%  See also CONTWOSTAGE, CONBASE/GUITYPECHOOSER, CONBASE/GUITYPECHOOSER.

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

[con, fitOptions, ok,HasChanged] = guiConTwostage( con, fitOptions ,varargin{:});