www.gusucode.com > mbcexpr 工具箱 matlab 源码程序 > mbcexpr/@cgconstant/gettype.m
function tp = gettype(obj) %GETTYPE Return the type of an expression % % TP = GETTYPE(OBJ) returns a short (one or two words) string that % describes the type of an expression. This string is suitable for use in % lists of disparate expression types, for example. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. tp = 'Scalar constant';