[Index for tmx.tbx] [Return to Master Index]

trmrun

(tmx.tbx/trmrun.m)


Function Synopsis

tmxh = trmrun(tmxh, stoptime)

Help text

 Usage: tmxh = trmrun(tmxh, stoptime)
 Description: Run the mex-system indicated by tmxh from its current
    simulation time until the specified stoptime. Start the trm if
    it has not yet been started.
 Input Parameters:
    tmxh: a tmx_handle of the mex-system which is to be executed.
    stoptime: the virtual time at which the execution of the mex-system
       is to be stopped. tempus continues to execute until all events
       having an event time less than or equal to stoptime are processed.
 Output Parameters:
    tmxh: The resulting tmx_handle of the mex-system which was executed.
 Note: If for some reason, the tmxh.trmrunning flag is set but you still
    want to start the trm, use the routine trm, or set tmxh.trmrunning
    to zero.


Cross-Reference Information

This function calls

Produced by mat2html on Wed Nov 22 10:44:15 2000
Cross-Directory links are: OFF