User`s guide

close
close(rx,'channel1','channel2',...) closes the channels specied
by the strings
channel1, channel2,andsoonasdened in rx.
close(rx,'channel') clos es the specied channel. When you set
channel to 'all', this function closes all the open channels associated
with
rx.
To avoid conicts, 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 les 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
ntextles.
This include
s source le,
libraries, c
ommand les,
and others.
close(cc,'
my_source.cpp','text')
Close the te
xt le
my_source.
cpp
.
close(cc,[
],'text')
Close the ac
tive 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