www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@contwostage/getlocalfactors.m

    function cif = getlocalfactors(con)
%GETLOCALFACTORS Local inputs to a two-stage constraint
%
%   CIF = GETLOCALFACTORS(CON) is a CONINPUTFACTOR object with the local
%   inputs to the two-stage  constraint CON. 
%
%  See also CONTWOSTAGE, 
%           CONTWOSTAGE/GETLOCALINDICES, 
%           CONTWOSTAGE/GETGLOBALFACTORS, 
%           CONTWOSTAGE/GETGLOBALINDICES.

%  Copyright 2000-2005 The MathWorks, Inc. and Ford Global Technologies, Inc.

cif = getInputFactors( con );
cif = cif(getLocalIndices( con ));