Stack usage max
Maximum stack usage per application
Description
App Configuration Pane: Memory
Configuration Objects: coder.MexCodeConfig | coder.CodeConfig | coder.EmbeddedCodeConfig
The Stack usage max parameter specifies the maximum allowed stack usage per application. Set a limit that is lower than the available stack size. Otherwise, a run-time stack overflow might occur. The code generator does not report stack overflows directly. Instead, the C or C++ compiler detects and reports stack overflows.
Settings
200000| positive integerMaximum 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