www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@xregbdrydev/getInputFactors.m
function cif = getInputFactors(bdev, stages) %GETINPUTFACTORS Get the input factors from a boundary dev node % % CIF = GETINPUTFACTORS(BDEV, STAGES) looks to the parent of BDEV to get % the input factors. % % CIF = GETINPUTFACTORS(BDEV) uses STAGES from the parent of BDEV. % % See also XREGBDRYDEV, CONINPUTFACTOR. % Copyright 2005 The MathWorks, Inc. and Ford Global Technologies, Inc. p = Parent( bdev ); if isempty( p ), cif = []; elseif nargin < 2, cif = p.getInputFactors; else cif = p.getInputFactors( stages ); end %------------------------------------------------------------------------------| % EOF %------------------------------------------------------------------------------|