Dynamic memory allocation threshold - Size threshold for dynamic memory allocation of variable-size
arrays - MATLAB ([original](https://in.mathworks.com/help/coder/ref/dynamicmemoryallocationthreshold.html)) ([raw](?raw))
Main Content
Size threshold for dynamic memory allocation of variable-size arrays
Description
App Configuration Pane: Memory
Configuration Objects: coder.MexCodeConfig | coder.CodeConfig | coder.EmbeddedCodeConfig
Size threshold for dynamic memory allocation of fixed-size and variable-size arrays, specified as a positive integer. The code generator uses dynamic memory allocation for fixed-size and variable-size arrays whose size (in bytes) is greater than or equal to the threshold.
Settings
65536
| positive integer
Threshold for dynamic memory allocation in bytes, specified as a positive integer. The default setting is 65536
.
Programmatic Use
**Property:**DynamicMemoryAllocationThreshold |
---|
Values: 65536 | positive integer |
Default: 65536 |
Version History
Introduced in R2012a