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

    function [con, ok] = fitConstraint(con, opts, X)
%FITCONSTRAINT Fit a constraint to data
%
%  [CON, OK] = FITCONSTRAINT(CON, OPTS, X)
%
%  X should be the list of boundary points if boundary points are supported by
%  the constraint.
%
%  This method needs to be overloaded for sub-classes that require boundary
%  points as part of the fitting process.
%
%  See also CONBASE, CONBASE/FINDSPECIALPOINTS, CONBASE/FINDBOUNDARYPOINTS,
%    CONBASE/GETCONSTRAINTFITOPTIONS. 

%  Copyright 2004-2005 The MathWorks, Inc.

ok = false;

warning(message('mbc:conbase:UndefinedMethod', upper( mfilename ), class( con )));

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