coder.ignoreConst
Prevent use of constant value of expression for function specializations
Syntax
coder.ignoreConst(expression)
Description
coder.ignoreConst(
prevents the code generator from using the constant value ofexpression
)expression
to createfunction specializations.coder.ignoreConst(expression)
returns the value ofexpression
.
Examples
Input Arguments
More About
Tips
For some recursive function calls, you can use
coder.ignoreConst
to force run-time recursion. SeeForce Code Generator to Use Run-Time Recursion.coder.ignoreConst(expression)
prevents the code generator from using the constant value ofexpression
to create function specializations. It does not prevent other uses of the constant value during code generation.
See Also
Introduced in R2017a
Was this topic helpful?