Main Content

Task Execution Playback Using Recorded Data

The Task Manager block can replay the execution timing of a task recorded from either a previous simulation of that task or from the execution of a task on a processor in an SoC device. To replay a task timing data file, use the following procedure:

  1. In a Simulink® model, open the Task Duration block dialog box.

  2. Select a task from the list of available tasks.

  3. In the Simulation tab, select Play back recorded task diagnostics file.

  4. Click Browse to select a taskname.csv file from a previous task simulation.

While using the data file for the task timing information, the Task Manager still manages individual tasks according the scheduling of the system and can be preempted by other higher priority tasks in the model. For more information on task priority and preemption, see Task Priority and Preemption.

See Also

Related Examples

More About