www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgcontainer/getCageType.m

    function typestr = getCageType(nd)
%GETCAGETYPE Return the type string for this object
%
%  For @cgcontainer this is the getCageType of the contained data.
%
%  TYPESTR = GETCAGETYPE(ND)

%  Copyright 2005 The MathWorks, Inc.


pD = getdata( nd );
if ~isempty( pD )
    typestr = pD.getCageType();
else
    typestr = 'Unknown Type';
end