Proxy Task

Placeholder for timer-driven task

  • Library:
  • SoC Blockset / Processor Task Execution

Description

The Proxy Task block simulates a timer-driven task in your SoC application without and allows you to model a task without explicitly implementing one. This block can be used as a placeholder for timer-driven tasks that will be developed in the future, or by another developer.

When added to your processor reference Model block, it causes the processor model, when the model is set to schedule rates by ports, to display a periodic event port with a sample time equal to Sample Time parameter.

Parameters

expand all

Sample time of the block.

Note

  • The Sample Time of the Proxy Task block must match the sample time of the corresponding timer-driven task from the Task Manager block.

  • The Sample Time of the Proxy Task block should be unique within the model. When other blocks in the model use the same sample time, the duration of the task defined by Proxy Task block cannot be guaranteed in code generation.

Introduced in R2019b