www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mbcmodel/@testplan/DetachData.m
function T = DetachData(T) %DETACHDATA Remove data from a testplan. % % T = DETACHDATA(T) % % Copyright 2004-2009 The MathWorks, Inc. error(mbcnargchk(1, 1, nargin, 'mbc:mbcmodel:testplan')); try % Detach data from the testplan detachData(T.Object); if ~isempty(T.pBoundary) && isvalid(T.pBoundary) delete(T.pBoundary) T.pBoundary = []; end catch E mnemonic = mbcGetLastError(E); error(['mbc:mbcmodel:testplan:' mnemonic], E.message); end