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

    function opts = getspecialpointoptions(con)
%GETSPECIALPOINTOPTIONS Get the options for finding special points
%
%  OPTS = GETSPECIALPOINTOPTIONS(CON)
%
%  This method returns OPTS = [] and indicates that CON does not support special
%  points as part of the fitting process. Sub-classes of CONBASE that require
%  special points need to overload this method to return an appropriate set of
%  options.
%
%  See also CONBASE, CONBASE/GETBOUNDARYPOINTOPTIONS,
%    CONBASE/GETCONSTRAINTFITOTIONS, CONBASE/FINDSPECIALPOINTS.

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



if isempty(con.ConList)
   error(message('mbc:conswitch:InvalidState'))
end
opts = getspecialpointoptions( con.ConList{1} );

%------------------------------------------------------------------------------|
% EOF
%------------------------------------------------------------------------------|