www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@guidarray/isempty.m

    function OK = isempty(obj)
%ISEMPTY Check whether the object contains any guids
%
%  ISEMPTY(G) returns true if G does not contain any guids.

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


OK = (numel(obj.values) == 0);