Force polling mode
Enables polling mode — instead of interrupt-driven mode — for clocking the real-time application
Model Configuration Pane: Code Generation / Simulink Real-Time Options
Enables polling mode — instead of interrupt-driven mode — for clocking the real-time application. Polling mode can be useful for reducing sample time jitter. But, enabling this option causes the real-time application to consume a CPU core completely to clock and execute the base rate.
SLRTForcePollingMode configuration parameter sets the initial value
pollingThreshold option when you build the real-time application.
SLRTForcePollingMode sets the
to a value above the base sample rate. This setting forces clocking the real-time application
in polling mode.
Force polling modeis disabled, the real-time application is clocked by a timer interrupt, unless the base sample rate is equal to or below the polling threshold (100 μs). If the base sample rate is less than or equal to the threshold, the real-time application is clocked in polling mode.
Force polling modeis enabled, the real-time application is always clocked in polling mode.
|Type: character vector|
Introduced in R2020b