Handles
0001 function ltpdv_server_import(varargin) 0002 0003 % Handles 0004 myh = varargin{1}; 0005 mainfig = varargin{end}; 0006 0007 a = ltpdv_server_get_data(mainfig); 0008 0009 % Add objects to the object list 0010 0011 % Get current objects 0012 objs = getappdata(mainfig, 'LTPDAobjects'); 0013 0014 % Add these new ones 0015 for j=1:numel(a) 0016 objs = [objs {a(j)}]; 0017 end 0018 0019 % Refresh object list 0020 setappdata(mainfig, 'LTPDAobjects', objs); 0021 ltpdv_refresh_object_list(mainfig); 0022 0023