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

    function [m,OK,Stats] = fit(m,x,y)
%FIT general fit method for local and global models
%
% [m,OK,Stats] = fit(m,x,y)

%  Copyright 2007 The MathWorks, Inc. 

[m,OK,Stats] = fitmodel(m,x,y);