| MATLAB Link for Code Composer Studio Development Tools |     ![]()  | 
Test whether the target processor is executing a process
Syntax
Description
isrunning(cc)
 returns 1 when the target processor is executing a program. When the processor is halted, isrunning returns 0.
Examples
isrunning lets you determine whether the target processor is running. After you load a program to the target, use isrunning to be sure the program is running before you enable RTDX channels.
cc = ccsdsp; isrunning(cc) ans = 0 % Load a program to the target. run(cc) isrunning(cc) ans = 1 halt(cc) isrunning(cc) ans = 0
See Also
halt, restart, isrunning
   | isrtdxcapable | isvisible | ![]()  |