isvisible - Determine whether CCS IDE is running

Syntax

isvisible(cc)

Description

isvisible(cc) determines whether CCS IDE is running on the desktop and the window is open. If CCS IDE window is open, isvisible returns 1. Otherwise, the result is 0 indicating that CCS IDE is either not running or is running in the background.

Examples

Test to see if CCS IDE is running. Start by launching CCS IDE. Then open MATLAB® software. At the prompt, enter

cc=ticcs

TICCS Object:
  API version     = 1.0
  Processor type  = C67
  Processor name  = CPU
  Running?        = No
  Board number    = 0
  Processor number= 0
  Default timeout = 10.00 secs

RTDX Object:
  Timeout:  10.00 secs
  Number of open channels: 0

MATLAB software creates a link to CCS IDE and leaves CCS IDE visible on your desktop.

isvisible(cc)

ans =

     1

Now, change the visibility state to 0, or invisible, and check the state.

visible(cc,0)
isvisible(cc)

ans =

     0

Notice that CCS IDE is not visible on your desktop. Recall that MATLAB software did not open CCS IDE. When you close MATLAB software with CCS IDE in this invisible state, CCS IDE remains running in the background. To close it, do one of the following.

See Also

info, visible

  


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