www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xreghybridrbf/simSetEvalParam.m

    function simSetEvalParam(m,sys)
%SIMSETEVALPARAM

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



coeffs = double(m);
% this will ensure the submodels coefficients are up to date with the xreghybridrbf
m = update(m,coeffs); 

simSetEvalParam(m.linearmodpart, sys);
simSetEvalParam(m.rbfpart, sys);