Plot histogram of the task durations from a recorded Simulation Data Inspector run
creates an array of structures, one element for each task. Each structure contains the task
name, task start times, task durations, and mean and standard deviations of the task
durations. The function also plots the histogram of task durations for each task.
taskData = socTaskTimes(
modelName— Name of the Simulink® model
Name of the Simulink model associated with run containing tasks.
runName— Name of the Simulation Data Inspector run
Name of Simulation Data Inspector run containing a task.
suppressPlot— Name of the Simulink model
Suppress the automatic generation of task duration plots.
taskData— Task timing data and statistics
Task timing and duration statistics, returned as a structure with the fields: