User`s guide

3 Project Generator
For more information about target function libraries in the build process, refer
to “Introduction to T arget Function Libraries” in the Real-Time Workshop
Embedded Coderdocumentation.
Using a Processor-Specific Target Function Library to
Optimize Code
As a best practice, you should select the appropriate target function library
for your processo r after you verify the ANSI C implementation o f your project.
Note Do not select the proc esso r-speci c target function library if you use
your executable application on more than one specic processor. The operator
and function entries in a library may work on more than o ne processor within
a processor family. The entries in a library usually do n ot work with different
processor families.
To use target function library for processor-specic optimization when you
generate code, you must install Real-Time Workshop Embedded Coder
software. Your model m ust include a Target Preferences block congured
for y ou intended processor.
Perform the following steps to select the target function library for your
processor:
1 Select Sim ulation > Conguration Parameters from the model menu
bar. The Conguration Parameters dialog box for your model opens.
2 On the Select tree in the Con guration Parameters dialog box, choose
Real-Time Workshop.
3 Use Browse to select ccslink_ert.tlc as the System target le.
4 On the Select tree, choose Interface.
5 On the Target function library list, select the processor family that
matches your processor. Then, click OK to save your chan ge s and close
the dialog box.
3-72