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

    function r=meantol(TP,coding);
%MEANTOL depreciating code

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



M= model(TP);

Tgt= gettarget(M);
r= diff(Tgt,[],2)'/20;
if nargin==1
    r= invcode(M,r)- invcode(M,zeros(1,length(r)));
end