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

    function con = setCenter(con, center)
%SETCENTER Set the center of a CONSTAR constraint
%
%  CON = SETCENTER(CON, CENTER)
%
%  Note that resetting the center of CONSTAR will usually require a reset
%  of the internal RBF model as well.
%
%  See also CONSTAR.

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

con.Center = center;

% Coding is based, in part, on the center.
con = pSetModelCoding( con );

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