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

    function [opts,ok] = getConstraintFitOptions(con)
%GETCONSTRAINTFITOPTIONS Get the options for fit a constraint to data
%
%  [opts,ok] = GETCONSTRAINTFITOPTIONS(CON)
%
%  This method returns OPTS = [] and indicates that CON does not support
%  constraint fitting part of the fitting process. This does not necessarily
%  mean that a constraint does support fitting to data, but just that the third
%  step, i.e., FITCONSTRAINT, is not supported. It is possible that the
%  constraint maybe fitted to data via special or boundary points. Sub-classes
%  of CONBASE that require the "constraint fit" need to overload this method to
%  return an appropriate set of options.
%
%  See also CONBASE, CONBASE/GETSPECIALPOINTOPTIONS,
%    CONBASE/GETBOUNDARYPOINTOPTIONS, CONBASE/FITCONSTRAINT.

%  Copyright 2004-2008 The MathWorks, Inc.

opts = [];
ok = false;

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