Task Trigger
R2026bLibraries:
SoC Blockset for AMD /
SoC System Simulation /
Processor Task Execution
HDL Coder /
SoC System Simulation /
Processor Task Execution
Description
The Task Trigger block triggers execution of an event-driven task in your application. Connect the output of this block to the event port of the respective task in the Task Manager (SoC Blockset) block. Place this block in the appropriate task in the reference model.
You can place more than one of these blocks in the same task.
Use this block to enable efficient task schedules with explicit synchronization between tasks.
Ports
Output
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"proctasklib/Task Trigger"
"proctasklib/Task Trigger"
Example: add_block("proctasklib/Task Trigger","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2023b
See Also
Task Manager (SoC Blockset) | Task Trigger Merge (SoC Blockset)