www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@designdev/count.m
function cnt = count(obj) %COUNT % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. if isempty(obj.next) cnt = 1; else cnt = count(obj.next) + 1; end