Trigger task execution in your application
SoC Blockset / Processor Task Execution
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 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.
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
To generate and execute C code for your SoC models, this block requires Embedded Coder® and one of these support packages:
SoC Blockset™ Support Package for Xilinx® Devices
SoC Blockset Support Package for Intel® Devices
SoC Blockset Support Package for Embedded Linux® Devices
To use this block, you must set Hardware Board in the configuration parameters to a supported board. You can then follow the instructions to configure the board. For more information, see Create an Embedded Linux Device Configuration.
When deployed to a supported hardware board, this block uses the POSIX semaphore API to implement a task trigger.
Introduced in R2023b