Enable run-time recursion
Run-time recursion support
Description
App Configuration Pane: Advanced
Configuration Objects: coder.MexCodeConfig
| coder.CodeConfig
| coder.EmbeddedCodeConfig
Allow recursive functions in the generated code. If your MATLAB® code requires run-time recursion and the Enable run-time recursion check box is cleared, code generation fails.
Some coding standards, such as MISRA™, do not allow recursion. To increase the likelihood of generating code that is compliant with MISRA C™, clear the Enable run-time recursion check box.
Settings
- On
Recursive functions are allowed in the generated code. This value is the default value.
- Off
Recursive functions are not allowed in the generated code.
Programmatic Use
Property:
EnableRuntimeRecursion |
Values: true |
false |
Default: true |
Version History
Introduced in R2016b