www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@conbase/nFactors.m
function nf = nFactors(con) %NFACTORS Number of input factors for a constraint. % % NF = NFACTORS(CON) % % See also CONBASE, CONBASE/NACTIVEFACTORS. % Copyright 2004-2005 The MathWorks, Inc. nf = length( con.InputFactors ); %------------------------------------------------------------------------------| % EOF %------------------------------------------------------------------------------|