User`s guide
Embedded IDE Link CC Pane
PIL block action
Specifies wh ethe
r Real-Time Workshop software builds the PIL block and
downloads the bl
ock to the proc esso r
Settings
Default: Create
_PIL_block_and_download
Create_PIL_blo
ck_build_and_download
Builds and downl
oads the PIL application to the proces sor after creating
the PIL block. Ad
ds PIL interface code that exchanges data with
Simulink.
Create_PIL_bl
ock
Creates a PIL bl
ock, places the b lock in a new model, and then stops
without buildi
ng or downloading the block. The resulting project will
not compile in t
he IDE.
None
Configures mode
l to generate a C CS p roject that contains the PIL
algorithm code
. Does not build the PIL object code or block. The new
project will n
ot compile in the ID E.
Tips
• When you click Build on the PIL dialog box, the build pro cess adds the PIL
interfacecodetotheprojectandcompilestheprojectintheIDE.
• If you select
Create PIL block, you can build manually from the block
right-click context menu
• After you select
Create PIL Block, copy the PIL block into your model to
replace the original subsystem. Save the original subsystem in a different
model so you can restore it in the future. Click Build to build your model
with the PIL block in place.
• Add thePILblocktoyourmodeltousecosimulationtocomparePIL
results with the original subsystem results. Refer to the demo “Comparing
Simulation and processor Implementation with Processor-in-the-Loop
(PIL)” in the product demos Embedded IDE Link CC
10-29