www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xregmulti/size.m
function s= size(m,dim) % SIZE number of contained models % % s= size(m,[dim]) % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. % Created 25/5/2000 s= [length(m.weights) 1]; if nargin~=1 s= s(dim); end return