Home >
. > update_waitbar.m
update_waitbar
PURPOSE 
'update_waitbar': update the waitbar display, used for ACTION functions in the GUI 'series'
SYNOPSIS 
function update_waitbar(hwaitbar,bar_size,advance_ratio)
DESCRIPTION 
CROSS-REFERENCE INFORMATION 
This function calls:
This function is called by:
- series 'series': master function associated to the GUI series.m for analysis field series
SOURCE CODE 
0001
0002
0003
0004
0005
0006
0007
0008 function update_waitbar(hwaitbar,bar_size,advance_ratio)
0009 waitbarpos(1)=bar_size(1);
0010 waitbarpos(3)=bar_size(3);
0011 waitbarpos(4)=advance_ratio*bar_size(4);
0012 waitbarpos(2)=bar_size(4)+bar_size(2)-waitbarpos(4);
0013 set(hwaitbar,'Position',waitbarpos)
0014 drawnow
Generated on Fri 13-Nov-2009 11:17:03 by m2html © 2003