Configure interrupt-driven (aperiodic) tasks.
Specify a unique name for the interrupt-driven task configuration.
Default: Interrupt
Enter a unique character vector to identify the interrupt-driven task configuration. This value must a valid MATLAB® variable.
Specify a color for the interrupt icon.
Default: Blue
Click the color picker icon to select a color for the interrupt icon.
The interrupt icon appears on the top left of the Model block. It indicates the task to which the Model block is assigned.
As you add an interrupt, the software automatically assigns a color to the interrupt icon, up to six colors. When the current list of colors is exhausted, the software reassigns previously used colors to the new interrupts, starting with the first color assigned.
If you select a different color for an icon and then use the software to automatically assign colors, the software assigns a preselected color.
Specify the trigger source for the interrupt-driven task.
Default: Posix
Signal (Linux/VxWorks 6.x)
Posix Signal (Linux/VxWorks 6.x)
For Linux® or VxWorks® systems, select Posix
Signal (Linux/VxWorks 6.x)
.
Event (Windows)
For Windows® systems, select Event (Windows)
.
This parameter enables either Signal number [2,SIGRTMAX-SIGRTMIN-1] or Event name.
Selecting Posix Signal (Linux/VxWorks
6.x)
enables the following parameter:
Signal number [2,SIGRTMAX-SIGRTMIN-1]
Selecting Event (Windows)
enables
the following parameter:
Event name
Enter the POSIX® signal number as the trigger source.
Default: 2
Minimum: 2
Maximum: SIGRTMAX-SIGRTMIN-1
Enter the POSIX signal number as the trigger source.
Aperiodic trigger source > Posix signal (Linux/VxWorks 6.x) enables this parameter.
Enter the name of the event as the trigger source.
Default: ERTDefaultEvent
Change ERTDefaultEvent
to the actual
trigger source event.
Aperiodic trigger source > Event (Windows) enables this parameter.