メインコンテンツ

Detect task overruns

Detect and indicate when a task overrun occurs

Model Configuration Pane: Hardware Implementation / Hardware board settings / Operating system/scheduler / Operating system options

Description

Select the Detect task overruns parameter to detect when a task overrun occurs in a Simulink® model running on the target hardware. Indicate when an overrun has occurred.

Settings

Off (default) | On

A task overrun occurs if the target hardware is still performing one instance of a task when the next instance of that task is scheduled to begin.

You can fix overruns by decreasing the frequency with which tasks are scheduled to run, and by reducing the number or complexity of the tasks defined by your model.

If those solutions do not fix the task overrun condition, and you are using External mode, consider disabling External mode.

Recommended Settings

No recommendation.

Programmatic Use

No programmatic use available.

Version History

Introduced in R2014b