User`s guide
visible
Purpose Set whether CCS IDE window is vi sib le w h ile CCS runs
Syntax visible(cc,state)
Description visible(cc,state) sets CCS IDE to be visible o r 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 r uns in the background while the
window is not visible.
Running CCS IDE withou t making it visible lets you use the CCS IDE
functions from MATLAB software, without interacting with CCS IDE.
IfyouneedtointeractwithCCSIDE,set
state equal to 1.Thismakes
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, a fter you use
visible(cc,state)
to m ake CCS IDE show on your desktop, the MA TLAB software clear
all
function does not remove the visibility handle. You must remove
thehandleexplicitlybeforeyouuse
clear.
To see the visibility difference, open CCS and use Microsoft 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), CC S IDE appears listed on the Ap plications
page of Task Manager. And the process
cc_app.exe shows up on t he
Processes page as a running process. W hen 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),
usingCPUandmemoryresources.
Note When you close MAT LAB software wh ile CCS IDE is not visible ,
MATLAB software closes CCS if it started the IDE.
7-157