User`s guide

3 Project Generator
Modify a library le, such a s a chip support library (.csl le)
Add commands to a header le
Modify data in a data le
Add comments to a le for tracking or identifying the le or project
.
Determining the Name of the File to Replace
To replace a le cre ate d wh en you generate a project, y ou need the name of
the le to replace; the content to change; and the replacement le, including
thepathtothele. Y our model must include a target preferences block
congured for your processor, either a simulator or hardware.
Custom code re placem ent lets you customize the behavior of the linker
by replacing or editing the generated le that contains linker directives.
When you replace or update the linker directives for building your proje ct,
Embedded IDE Link C C stores the linker directives in the le
modelname.cmd.
Follow these steps to identify the le to replace in a project:
1 Open the conguration parameters for your m odel.
2 On the Select tree in the Cong u ration Parameter dialog box, select
Embedded IDE Link CC.
3 Set Build action to any entry on the list except Create
processor-in-the-loop project
.
4 Click OK to close the di alog box.
5 Press Ctrl+B to build your m odel.
6 Look at the les in the project in the IDE. Find the le that contains the
information to supplement or replace.
The build process stores the project les in the directory
modelname_ccslink
in your MATLA B working directory, and shows the project directory
information in the MATLAB Command window.
3-66