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

    function [opts, ok] = pGetGlobalModelFitOptions(con)
%PGETGLOBALMODELFITOPTIONS A short description of the function.
%
%   [OPTS, OK] = PGETGLOBALMODELFITOPTIONS(CON)
%
%  See also CONTWOSTAGE, CONTWOSTAGE/GETCONSTRAINTFITOPTIONS.

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

GUI_SETABLE = true;

% Second return argument is required to work with "xregoptmgr" code.
ok = true;

% Use an "optimisation manager" to handle the options
opts = contextimplementation( xregoptmgr, con, '', '', 'Global Model Fit', @getConstraintFitOptions );