www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@testplansweepsetfilter/getTestplan.m
function T = getTestplan(tssf) %GETTESTPLAN A short description of the function % % OUT = GETTESTPLAN(IN) % % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. % Cache an empty testplan as they are a little expensive to create persistent emptyTestplan if isempty(emptyTestplan) emptyTestplan = mdevtestplan; end if isvalid(tssf.ptestplan) T = tssf.ptestplan.info; else T = emptyTestplan; end