Constant folding timeout - Maximum number of instructions to be executed by the constant
folder - MATLAB ([original](https://in.mathworks.com/help/coder/ref/constantfoldingtimeout.html)) ([raw](?raw))
Main Content
Maximum number of instructions to be executed by the constant folder
Description
App Configuration Pane: Advanced
Configuration Objects: coder.MexCodeConfig | coder.CodeConfig | coder.EmbeddedCodeConfig
The Constant folding timeout parameter specifies the maximum number of instructions that the constant folder executes. In some situations, code generation requires specific instructions to be constant. If constant folding stops before these instructions are constant-folded, code generation fails. In this case, increase the value of Constant folding timeout.
Settings
40000 | positive integer
Maximum number of instructions that the constant folder executes, specified as a positive integer. The default value for this setting is 40000.
Programmatic Use
**Property:**ConstantFoldingTimeout |
---|
Values: 40000 | positive integer |
Default: 40000 |
Version History
Introduced in R2011a