www.gusucode.com > mbcexpr 工具箱 matlab 源码程序 > mbcexpr/@cgexprconstraint/getinputfilterobject.m
function tp = getinputfilterobject(obj) %GETINPUTFILTEROBJECT Return a type object for the input filter % % TP = GETINPUTFILTEROBJECT(OBJ) returns a vector of CAGE type objects % that can be used to filter the appropriate items from the project for % the input. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. switch lower(obj.ExprFilterType) case 'model' tp = cgtypes.cgmodeltype; case 'table' tp = cgtypes.cgtabletype; case 'feature' tp = cgtypes.cgfeaturetype; otherwise tp = [cgtypes.cgmodeltype; ... cgtypes.cgtabletype; cgtypes.cgfeaturetype]; end