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

    function len= length(p)
%LENGTH overloaded length function for pointer arrays
%
%   LEN = LENGTH( PTR ) returns the length of the pointer array PTR.

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

len= length(p.ptr);