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

    function c = conswitch(con)
%CONSWITCH converter to conswitch
%
% c = conswitch(con)

%  Copyright 2008 The MathWorks, Inc. 
%     ss

cif = getInputFactors(con);
ciflocal = getlocalfactors(con);
c = conswitch(cif,length(ciflocal));