www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xregtwostage/size.m
function n = size(m,dim) %SIZE % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. n = 0; for i = 1:length(m.Global) n = n+ numParams(m.Global{i}); end n = [n 1]; if nargin == 2 n = n(dim); end