Higher priority value indicates higher task priority - Priority ordering for real-time system targets - MATLAB (original) (raw)
Main Content
Priority ordering for real-time system targets
Model Configuration Pane: Solver
Description
The Higher priority value indicates higher task priority parameter specifies whether a higher task priority is indicated by a lower value or a higher value in the real-time target. Code generation uses this information to implement asynchronous data transfers.
Settings
off
(default) | on
on
The real-time system assigns higher priority values to higher priority tasks. For example, a task with a priority value of 8 has a higher task priority than a task with a priority value of 4.
Rate Transition blocks treat asynchronous transitions from a rate with a lower priority value to a rate with a higher priority value as a low-to-high rate transitions.
off
The real-time system assigns lower priority values to higher priority tasks. For example, a task with a priority value of 4 has a higher task priority than a task with a priority value of 8.
Rate Transition blocks treat asynchronous transitions from a rate with a lower priority value to a rate with a higher priority value as high-to-low rate transitions.
Programmatic Use
Parameter: PositivePriorityOrder |
---|
Type: string | character vector |
Value: "on" | "off" |
Default: "off" |
Version History
Introduced in R2006b