User`s guide
close
close(rx,'channel1','channel2',...) closes the channels specified
by the strings
channel1, channel2,andsoonasdefined in rx.
close(rx,'channel') clos es the specifi ed channel. When you set
channel to 'all', this function closes all the open channels associated
with
rx.
To avoid conflicts, do not nam e ch a n nels “all” or “ALL.”
Examples Using close with Files and Projects
To clarify the different close options, here are six commands that close
open files or projects in CCS IDE.
Command Result
close(cc,'al
l','project')
Close all open
projects in
CCS IDE.
close(cc,'my
.pjt','project')
Close the proj
ect
my.pjt.
close(cc,[]
,project')
Close the act
ive project.
close(cc,'a
ll','text')
Close all ope
ntextfiles.
This include
s source file,
libraries, c
ommand files,
and others.
close(cc,'
my_source.cpp','text')
Close the te
xt file
my_source.
cpp
.
close(cc,[
],'text')
Close the ac
tive fi le
window.
Using clos
ewithRTDX
When you pl
an to use RTDX to communicate with a processor, you
open and en
able channels to the board and processor. For example, to
communica
te w ith the processor on your installed board, you use
open
to set up a c
hannel, as follows:
cc = ticcs('boardnum',1,'procnum',0)
7-24