Main Content

Stack usage max

Maximum stack usage per application

Description

App Configuration Pane: Memory

Configuration Objects: coder.MexCodeConfig | coder.CodeConfig | coder.EmbeddedCodeConfig

Control maximum stack usage per application. Set a limit that is lower than the available stack size. Otherwise, a run-time stack overflow might occur. The C compiler detects and reports stack overflows.

Settings

200000 | positive integer

Maximum stack usage per application in bytes, specified as a positive integer. The default value is 200000.

Programmatic Use

Property: StackUsageMax
Values: 200000 | positive integer
Default: 200000

Version History

Introduced in R2011a