Main Content

Automatically schedule for-loops

Automatically schedule generated loop nest code

Since R2024a

Model Configuration Pane: Code Generation / Optimization

Description

The Automatically schedule for-loops parameter specifies whether for-loop nests in the generated code for Neighborhood Processing Subsystem, Pixel Processing Subsystem, and Array Processing Subsystem blocks are automatically scheduled. Automatic scheduling can increase execution speed.

Category: Optimization

Dependencies

To enable this parameter:

Settings

off (default) | on
On

Automatically schedules generated loop nest code.

Off

Does not automatically schedule generated loop nest code.

Recommended Settings

ApplicationSetting
DebuggingOff
TraceabilityOff
EfficiencyOn (execution speed)
Safety precautionNo impact

Programmatic Use

Parameter: AutoScheduleForLoops
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Version History

Introduced in R2024a