www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgpointconstraint/texDescription.m

    function s = texDescription(obj)
%TEXDESCRIPTION  Return tex description string
%
%  S = TEXDESCRIPTION(OBJ) returns a string or cell arrray of strings that
%  describes the type of this optimization object.  The string(s) may
%  contain tex symbols.  If a cell array is returned then each cell will
%  correspond to a new line in the UI.

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


if isvalid(obj.ConExpression)
    s = obj.ConExpression.texdescription;
else
    s = {'A point constraint provides a constraint distance value'
        'for each set of input values.' };
end