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