www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgproject/ImportList.m
function pList= ImportList(CGP,Type) %IMPORTLIST list of items to be imported % % pList= ImportList(CGP,Type) % Copyright 2005 The MathWorks, Inc. A= CGP.Connections; if isempty(A) A= cgprojconnections(address(CGP)); end if strcmpi(Type,'all') Indices= A.IsMajorItem; else Indices= strcmpi(Type,A.Type); end pList= majorptrs(A,Indices);