Interrupt Pane

Interrupt Pane Overview

Configure interrupt-driven (aperiodic) tasks.

See Also

Configure Your Model for Concurrent Execution

Name

Specify a unique name for the interrupt-driven task configuration.

Settings

Default: Interrupt

  • Enter a unique character vector to identify the interrupt-driven task configuration. This value must a valid MATLAB® variable.

Command-Line Information

See Programmatic Interface for Concurrent Execution.

See Also

Configure Your Model for Concurrent Execution

Color

Specify a color for the interrupt icon.

Settings

Default: Blue

  • Click the color picker icon to select a color for the interrupt icon.

Tips

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.

Command-Line Information

See Programmatic Interface for Concurrent Execution.

See Also

Configure Your Model for Concurrent Execution

Aperiodic trigger source

Specify the trigger source for the interrupt-driven task.

Settings

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).

Dependencies

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

Command-Line Information

See Programmatic Interface for Concurrent Execution.

See Also

Configure Your Model for Concurrent Execution

Signal number [2,SIGRTMAX-SIGRTMIN-1]

Enter the POSIX® signal number as the trigger source.

Settings

Default: 2

Minimum: 2

Maximum: SIGRTMAX-SIGRTMIN-1

  • Enter the POSIX signal number as the trigger source.

Dependencies

Aperiodic trigger source > Posix signal (Linux/VxWorks 6.x) enables this parameter.

Command-Line Information

See Programmatic Interface for Concurrent Execution.

See Also

Configure Your Model for Concurrent Execution

Event name

Enter the name of the event as the trigger source.

Settings

Default: ERTDefaultEvent

  • Change ERTDefaultEvent to the actual trigger source event.

Dependencies

Aperiodic trigger source > Event (Windows) enables this parameter.

Command-Line Information

See Programmatic Interface for Concurrent Execution.

See Also

Configure Your Model for Concurrent Execution

Was this topic helpful?