www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@xregbdrydev/getstages.m

    function [out] = getstages(bdev)
%GETSTAGES The stages of the model that this boundary dev object is for
%
%   GETSTAGES(BR) is the number of stages for the boudray tree node object
%   BR. 
%  

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


% xregbdrydev objects hande the response feature
p = Parent( bdev );
if isempty( p ),
    out = 0;
else
    out = p.getstages;
end