Get times list
0001 function ltpdv_server_set_timeslist(mainfig) 0002 0003 % Get times list 0004 tlist = getappdata(mainfig, 'TimesList'); 0005 0006 % Get list handle 0007 lh = findobj(mainfig, 'Tag', 'LTPDVtimesList'); 0008 0009 % Format list 0010 lstr = []; 0011 for j=1:size(tlist,1) 0012 t = tlist(j,:) 0013 lstr = [lstr {sprintf('%s [%ds] / %s', GPS2UTC(t{1}), t{2}-t{1}+1, t{3})}]; 0014 end 0015 0016 set(lh, 'Value', 1, 'String', lstr); 0017