User`s guide

activate
Purpose Make specied project, le, or build conguration active in CCS IDE
Syntax activate(cc,'objectname','type')
Description activate(cc,'objectname','type') makes the object specied by
objectname and type the active d ocument window or project in CCS
IDE. While you m ust inclu de the link
cc, it does n o t identify the project
or le you make active.
activate accepts one of three strings for type
String Description
'project'
Makes an existing project in CCS IDE active
(current). You must include the
.pjt extension
in
objectname.
'text'
Makes the specied text le in CCS IDE the active
document window. Include the le extension in
objectname when you specify the le.
'buildcfg'
Makes the specied build conguration in CCS
IDE active. Note that build conguration is
similar to project con guration.
To specify the project le, text le, or build congura tion, objectname
must contain the full project name with the .pjt extension, or the full
path name and extension for the text le.
When you activate a bu ild con guration,
activate applies to the active
project i n CCS IDE. If the build congura tio n yo u specify in
activate
does not exist in the active project, MATLAB software returns an error
that the specied conguration does not exist in the project. Fix this
error by using
activate to make the correct project active, then use
activate again to s elect the desired build conguration.
Examples Create tw o projects in CCS IDE and use activate to change the a ctive
project, build conguration, and document window.
cc=ticcs;
7-2