TimeCntrl:
---------------------------------------------------------------------------
Perform actions specified by the time display.
This routine is called by a callback routine in TimeGUI.m. You do not
normally call it yourself.
Initialize the global as follows:
global simulationAction
simulationAction = ' ';
Use the following code in your simulation loop:
switch simulationAction
case 'pause'
pause
simulationAction = ' ';
case 'stop'
return;
case 'plot'
break;
end
---------------------------------------------------------------------------
Form:
TimeCntrl( action )
---------------------------------------------------------------------------
------
Inputs
------
action (1,:) Action to take
-------
Outputs
-------
None
---------------------------------------------------------------------------
Children: