User`s guide
Polling Mode
10-7
1 In the Simulink window, and from the Tools menu, point to Real-Time
Workshop
, and then click Options.
The Configuration Parameters dialog box opens.
2 In the left pane, click the Real-Time Workshop node.
3 In the TLC options edit field, specify the option
-axpcCPUClockPoll=CPUClockRateMHz
The assignment of the clock rate of the target PC’s CPU is necessary because
the Pentium’s on-chip counter used for polling mode counts up with the CPU
clock rate. If the clock rate is provided, the kernel can convert clock ticks to
seconds and vice versa. If an incorrect clock rate is provided, the target
application executes at an incorrect base sample time. You can find out
about the CPU clock rate of the target PC by rebooting the target PC and
checking the screen output during BIOS execution time. The BIOS usually