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

    function [con, bp, ok] = findBoundaryPoints(con, opts, X)
%FINDBOUNDARYPOINTS Find the boundary points for a star shapped constraint
%
%  [CON, BP] = FINDBOUNDARYPOINTS(CON, OPTS, X)
%
%  See also CONSTAR, 
%           CONSTAR/FINDSPECIALPOINTS, 
%           CONBASE/FINDBOUNDARYPOINTS, 
%           CONSTAR/FITCONSTRAINT,
%           CONSTAR/GETBOUNDARYPOINTOPTIONS. 

%  Copyright 2005 The MathWorks, Inc.

X = pFilterFactors( con, X );

% The algorithm for finding boundary points is implemented via the optim
% mangers
[con, bp, R] = run( opts, con, X );

ok = true;

%--------------------------------------------------------------------------
% EOF
%--------------------------------------------------------------------------