www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtools/@cgbrowser/getViewData.m
function data = getViewData(h, ID) %GETVIEWDATA Get data from browser data store % % GETVIEWDATA(CGB, GUID) returns the view data for the view associated % with the unique string GUID. % GETVIEWDATA(CGB) returns the view data for the current view. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. if h.GUIExists if nargin<2 ind = h.ViewCurrent; else ind = locateview(h,ID); end if ~isempty(ind) data = h.ViewData(ind).info; else data = []; end else data = []; end