www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtools/@cgbrowser/setViewData.m
function setViewData(h,data,ID) %SETVIEWDATA Set data into CAGE browser store % % SETVIEWDATA(CGB, DATA, GUID) sets the view data DATA into the store % associated with the unique identifier GUID. % SETVIEWDATA(CGB, DATA) sets the view data for the current view. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. if h.GUIExists if nargin<3 ind = h.ViewCurrent; else ind = locateview(h,ID); end h.ViewData(ind).info = data; end