www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xregmodel/nfactors.m
function [n,s,u]= nfactors(m) % MODEL/NFACTORS number of dependents for model % % n = nfactors(n) % % Additional outputs are available % [n,symbols,units]= nfactors(m); % Copyright 2000-2009 The MathWorks, Inc. and Ford Global Technologies, Inc. n = length(m.Inputs); if nargout>1 s= {m.Inputs.Symbol}; end if nargout>2 u= {m.Inputs.Units}; end