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

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

%  Copyright 2005-2008 The MathWorks, Inc.


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