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

    function m = setInterpolate(m,Mode)
%GETINTERPOLATE set interpolation mode for point-by-point model
%
% m = setInterpolate(m,Mode);

%  Copyright 2008 The MathWorks, Inc. and Ford Global Technologies, Inc.

if nargin == 1
   Mode = true; 
end
m.Interpolate = Mode;