www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@mdevtestplan/set.m
function varargout=set(T,property,value) % mdevTESTPLAN/SET depreciating code % % set(T,property,value) % Note inputname{1} is used as variable name in caller workspace % Therefore subsref expressions cannot be used for m. % % Supported properties: % 'Name' Cell array of variable names % 'Symbol' Cell array of variable symbols % 'MeanTol' Vector of tolerances of the factor means % 'RangeTol' Vector of tolerances of the factor ranges % % See also testplan/meantol, testplan/rangetol % Copyright 2000-2007 The MathWorks, Inc. and Ford Global Technologies, Inc. warning(message('mbc:mdevtestplan:obsolete')) switch lower(property) case 'name' case 'symbol' case 'meantol' case 'rangetol' otherwise error(message('mbc:mdevtestplan:InvalidProperty')); end % switch if nargout==1 varargout{1}=T; else assignin('caller',inputname(1),T); end