Path: Common/GUIs
% Displays an estimate of time to go. Call TimeDisplay('update') each step; the step counter is incremented automatically. This GUI does NOT provide any simulation controls (pause/stop). Updates at 0.5 sec intervals. TimeDisplay( 'initialize', nameOfGUI, totalSteps ) TimeDisplay( 'update' ) TimeDisplay( 'close' ) You can only have one TimeDisplay operating at once. -------------------------------------------------------------------------- Form: TimeDisplay( action, varargin ) -------------------------------------------------------------------------- ------ Inputs ------ action (1,:) 'initialize' 'update' 'close' nameOfGUI (1,:) Name to display totalSteps (1,1) Total number of steps ------- Outputs ------- None --------------------------------------------------------------------------
Back to the Common Module page