www.gusucode.com > mbcexpr 工具箱 matlab 源码程序 > mbcexpr/@cgnormaliser/UpdateFlist.m
function LT = UpdateFlist(LT,p,flag) %UPDATEFLIST Updates the list of table pointers % % UPDATEFLIST(OBJ, TABLEPTR, FLAG) adds (FLAG=1) or removes (FLAG=0) table % pointers from the normaliser. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. switch flag case 0 if ~isempty(LT.Flist) LT.Flist = LT.Flist((LT.Flist~=p)); end case 1 LT.Flist = unique([LT.Flist;p]); end