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

    function [mlist,name]= buildmodels(m,nobs)
%BUILDMODELS

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


[m,OK] = gui_globalmodsetup(m, 'figure', 'ShowWeights', false);
if OK
    name = 'User-defined';
    mlist = get(m,'models');
else
    name = '';
    mlist = {};
end