www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@conbase/pInputFactorProperties.m
function [info, w] = pInputFactorProperties(con) %PINPUTFACTORPROPERTIES Property informatio nfor active factors % % [INFO, W] = PINPUTFACTORPROPERTIES(CON) can be used by PROPERTIES % methods to display a list of active factors. % % See also CONBASE/PROPERTIES. % Copyright 2005 The MathWorks, Inc. cif = getActiveFactors( con ); naf = length( cif ); if naf == 1, info = [{'Active Factor'}, getFullNames( cif )]; w = 80; else info = cell( naf, 2 ); info{1,1} = 'Active Factors'; info(:,2) = getFullNames( cif ); w = repmat( 80, naf, 1 ); end