User`s guide

Getting Started with Automation Interface
In this part of the tutorial, you load the executable code for the processor CPU
in CCS IDE. Em bedded IDE Link CC includes a CCS project le. Through the
next tasks in the tutorial, you locate the tutorial project leandloaditinto
CCS IDE. The
open method directs CCS to load a project le or workspace le.
Note CCS has workspace and workspace lesthataredifferentfromthe
MATLAB w orkspace les and workspace. Remember to monitor both
workspaces.
After you have ex ecutable code running on your processor, you can exchange
data blocks with it. E xchanging data is the purpose of the objects provided by
EmbeddedIDELinkCCsoftware.
1 To load the appropriate project le to your processor, enter the following
command at the M ATLAB software prompt.
getdemoproject is a
specialized function for loading Embedded IDE Link CC demo les. It is
not supported as a standard Embedded IDE Link CC function.
demopjt= getDemoProject(cc,'ccstutorial')
demopjt =
isLibProj: 0
TemplateProject: 'C:\Temp\LinkForCCSDemos_v3.2\template\c6x\c67x.pjt'
DemoDir: 'C:\Temp\LinkForCCSDemos_v3.2\ccstutorial\c6x\c67x'
ProjectFile: 'C:\Temp\LinkForCCSDemos_v3.2\ccstutorial\c6x\c67x\ccstut.pjt'
ProgramFile: 'C:\Temp\LinkForCCSDemos_v3.2\ccstutorial\c6x\c67x\ccstut.out'
SrcFile: {2x1 cell}
LibFile: ''
CmdFile: {'$matlabroot\matlab\toolbox\ccslink\ccsdemos\shared\c6x\c6x.cmd'}
HdrFile: ''
BuildOpts: [1x1 struct]
ProjectAction: 'rebuildProg'
RebuildDemo: 1
demopjt.ProjectFile
ans =
2-11