MATLAB Link for Code Composer Studio Development Tools    
visible

Set whether CCS IDE window is visible while CCS is running

Syntax

Description

visible(cc,state) sets CCS IDE to be visible or not visible on the desktop. Input argument state accepts either 0 or 1 to set the visibility. Setting state equal to 0 makes CCS IDE not visible on the desktop. However, the CCS IDE process runs in the background while the window is not visible. Running CCS IDE without making it visible lets you use the CCS IDE functions from MATLAB, without interacting with CCS IDE. If you need to interact with CCS IDE, set state equal to 1. This makes CCS IDE visible and you can use the features of the user window.

An important feature of visible is that it creates a new link to CCS IDE when you change the IDE visibility. As a result, after you use

to make CCS IDE show on your desktop, the MATLAB clear all function does not remove the visibility handle. You must remove the handle explicitly before you use clear.

To see the visibility difference, open Code Composer Studio and use Windows Task Manager to look at the applications and processes running on your computer. When CCS IDE is visible (the normal startup and operating mode for the IDE), CCS IDE appears listed on the Applications page of Task Manager. And the process cc_app.exe shows up on the Processes page as a running process. When you set CCS IDE to not visible (state equal 0), CCS IDE disappears from the Applications page, but remains on the Processes page, with a Process ID (PID), using CPU and memory resources.

Examples

Test to see whether CCS IDE is running. Then change the visibility and check again. Start by launching CCS IDE. Then open MATLAB and at the prompt, type

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

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

Notice that CCS IDE is not visible on your desktop. Recall that MATLAB did not open CCS IDE. When you close MATLAB with CCS IDE in this invisible state, CCS IDE remains running in the background. The only ways to close it are either

See Also
isvisible, load


  symbol write