Determine whether set of tasks can be scheduled for specified core assignments
determines the schedulability of the tasks and cores in the System Composer allocation set and scenario captured in Allocation
Editor (System Composer) tool for software and hardware architecture diagrams using the
cores] = socTaskSchedulability(
mdl — Name of model
Name of the Simulink® model or the System Composer model for the processor.
allocationSet — Name of allocation set
Name of the allocation set.
allocationScenario — Name of allocation scenario
Name of the allocation scenario.
schedulable — Can task set be scheduled
0 | 1
Indicates whether the task set can be scheduled.
tasks — Array of task information
Task information, returned as an array of structures with the fields:
name — Task name
Name of the task in the model.
scheduable — Can task be scheduled
0 | 1
Indicates whether the task can be scheduled, where 1 indicates the task can be scheduled and 0 indicates the task cannot be scheduled under the current constraints.
cores — Core information
Core information, returned as an array of structures with the fields:
name — Core name
Name of the core in the processor.
usage — Percent usage of core
Usage of the core resources as a percentage.
Introduced in R2022b