LTPDV_WORKSPACELIST_SET_DATA sets the data into the workspace table M Hewitson 22-04-08 $Id: ltpdv_workspaceList_set_data.m,v 1.1 2008/05/11 10:38:43 hewitson Exp $
0001 function ltpdv_workspaceList_set_data(varargin) 0002 0003 % LTPDV_WORKSPACELIST_SET_DATA sets the data into the workspace table 0004 % 0005 % M Hewitson 22-04-08 0006 % 0007 % $Id: ltpdv_workspaceList_set_data.m,v 1.1 2008/05/11 10:38:43 hewitson Exp $ 0008 % 0009 0010 % Get panel handle 0011 th = varargin{end}; 0012 0013 % Make a list of LTPDA workspace user objects 0014 objs = ltpdv_getWorkspaceObjs; 0015 0016 % Make a data cell array 0017 data = {}; 0018 for j=1:length(objs) 0019 data = [data; {objs(j).name, objs(j).class, mat2str(objs(j).size), objs(j).bytes/1024}]; 0020 end 0021 % Set the data 0022 set(th, 'Data', data); 0023 0024 % END