User`s guide

Using Custom Source Files in Generated Projects
2 In the Board custom code options, select the type of le to replace—Source
files
or Libraries.
3 Enter the name of your replacement le and path in the text eld.
The build proces s recog nize s two directory path tokens:
$MATLAB to refer to your MA TLAB root directory
$install_dir to refer to the root of your IDE installation.
4 Click OK to close the di alog box.
5 Open the conguration parameters for your model and select the Build
action tousetobuildyourmodel.
6 From the Source code replacement list, select warning or error to see
messages when the build process replaces les.
7 Click OK to save your conguration.
8 Return to the m odel wi ndow and press Ctrl+B to build your project. The
generated project contains your replacement le instead of generating the
matching le.
3-69