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

    function ch = tostring( con )
%TOSTRING  Create string representation of constraint
%  STR = TOSTRING(CON)
%  
%  This method should be overloaded by all sub-classes of CONBASE.
%
%  See also CONBASE.

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


if ~strcmpi( class( con ), 'conbase' ),
    warning(message('mbc:conbase:UndefinedMethod4', upper( mfilename ), class( con )));
end

ch = 'Abstract constraint object';

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