isrunning - Determine whether processor is executing process

Syntax

isrunning(id)

Description

isrunning(id) returns 1 when the processor is executing a program. When the processor is halted, isrunning returns 0.

Examples

isrunning lets you determine whether the processor is running. After you load a program to the processor, use isrunning to verify that the program is running.

id=ghsmulti

MULTI Object:
  Host Name        : localhost
  Port Num         : 4444
  Default timeout  : 10.00 secs
  MULTI Dir        : C:\ghs\multi500\v800\

visible(id,1)
load(id,'program.dxe','program')
run(id)
isrunning(id)

ans =

     1
halt(id)
isrunning(id)

ans =

     0

See Also

halt

load

run

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS