Main Content

Task

Task

Specify concurrent execution tasks. You can add tasks for periodic and interrupt-driven (aperiodic) tasks.

For more information, see Tasks and Mapping.

Name

Specify a unique name for the task configuration.

Settings

Default: Task

  • Alternatively, enter a unique character vector to identify the periodic task trigger configuration. This value must be a valid MATLAB® variable.

For more information, see Tasks and Mapping.

Period

Specify the period for the task.

Settings

Default: 1

Minimum: 0

  • Enter a positive real or ratio value.

Tip

You can parameterize this value by using MATLAB expression character vectors as values.

For more information, see Tasks and Mapping.

Color

Specify a color for the task icon.

Settings

Default: Blue

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

Tips

The task icon appears on the top left of the Model block. It indicates the task to which the Model block is assigned.

  • As you add a task, the software automatically assigns a color to the task icon, up to six colors. When the current list of colors is exhausted, the software reassigns previously used colors to the new tasks, 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.

For more information, see Tasks and Mapping.