www.gusucode.com > mbclayouts 工具箱 matlab 源码程序 > mbclayouts/@xregcardlayout/getcard.m
function el=getcard(obj,cardno) % GETCARD Return objects on card % % OBJ=GETCARD(OBJ,CARDNO) returns a cell array of the objects % attached to the card CARDNO. If CARDNO is omitted, the current % card is assumed. % % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. ud=obj.g.info; if nargin<2 cardno=ud.currentcard; end objs=(ud.cards==cardno); el=get(obj.xregcontainer,'elements'); el=el(objs); return