www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mbcmodel/@testplan/pGetBoundary.m

    function val = pGetBoundary(T,~)
%PGETBOUNDARY - private method

%   Copyright 2009 The MathWorks, Inc.

if T.isNotNull && IsMatched(T.Object) && (isempty(T.pBoundary) || ~isvalid(T.pBoundary))
    % make boundary tree object
    val = boundarytree(T.Object,T);
    %store boundary tree in test plan
    T.pBoundary = val;
end
% actual boundary tree object is stored in pBoundary
val = T.pBoundary;