www.gusucode.com > mbcexpr 工具箱 matlab 源码程序 > mbcexpr/@cgconstraint/getconstrainttype.m
function str = getconstrainttype(obj) %GETCONSTRAINTTYPE Return a string indicating the type of constraint % % STR = GETCONSTRAINTTYPE(OBJ) returns a string that indicates what kind % of constraint this is. This string should be the same as the name given % to the constraint by the constraint factory object. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. str = 'Basic';