User`s guide

2 Automa tion Interface
Notice where the demo les are stored on your machine. In ge ne ral,
Embedded IDE Link CC software stores the demo project les i n
LinkforCCS_vproduct_version
For example, if you are using version 3 .2 of Embe dded IDE Link CC
software, the project demos are stored in
LinkforCCS_v3.2\.Embedded
IDE Link CC software creates this directory in a location on your machine
whereyouhavewritepermission. Usually,therearetwolocationswhere
Embedded IDE Link CC s oftw are tries to create the demo directory, in
the order shown.
a In a temporary directory on the C drive, such as C:\temp\.
b If Embedded IDE Link CC software cannot use the temp directory, you
see a dialog box that asks you to select a location to store the demos.
4 You have reset the directory path to nd the tutorial le. Now open the .out
le that matches your processor type, such as rtdxtutorial_c67x.out or
rtdxtutorial_c64x.out.
cc.open('rtdxtutorial_67x.out')
Because open is ov erloade d for the CCS IDE and RTDX links, this m ay
seem a bit strange. In this syntax,
open load s your executa ble le onto
the processor identied by
cc. Later in this tutorial, y ou use open with a
different syntax to open channels in RTDX.
In the next section, you use the new link to open and enable communications
between MATLAB software and your processor.
Configuring Communications Channels
Communications channels to the processor do not exist until you open and
enable them through Embedded IDE Link CC and C CS IDE. Opening
channels consists of opening and conguring each channelforreadingor
writing, and enabling the channels.
In the
open function, you provide the channel names as strings for the channel
name property. The channel name you use is not random. The channel name
string must match a channel dened in the executable le. If you specify
2-30