www.gusucode.com > mbcexpr 工具箱 matlab 源码程序 > mbcexpr/@cgvariable/isalias.m

    function ret = isalias(obj, alstring)
%ISALIAS Check whether name is defined as an alias
%
%  ISALIAS(OBJ, ALSTRING) returns true if ALSTRING is defined as an alias
%  in OBJ, false otherwise.

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


ret = any(strcmp(obj.Alias, alstring));