User`s guide
activate
Purpose Make specified project, file, or build configuration active in CCS IDE
Syntax activate(cc,'objectname','type')
Description activate(cc,'objectname','type') makes the object specified 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 file 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 specified text file in CCS IDE the active
document window. Include the file extension in
objectname when you specify the fi le.
'buildcfg'
Makes the specified build configuration in CCS
IDE active. Note that build configuration is
similar to project con figuration.
To specify the project file, text file, or build configura tion, objectname
must contain the full project name with the .pjt extension, or the full
path name and extension for the text file.
When you activate a bu ild con figuration,
activate applies to the active
project i n CCS IDE. If the build configura tio n yo u specify in
activate
does not exist in the active project, MATLAB software returns an error
that the specified configuration 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 configuration.
Examples Create tw o projects in CCS IDE and use activate to change the a ctive
project, build configuration, and document window.
cc=ticcs;
7-2